Studio get stacked in an Next error

After some major changes on my base project, Studio seems to get stacked and it cannot return to a stable point. I get this error:

Error: ./src/components/dashboard/add-transaction-dialog.tsx:231:6
Parsing ecmascript source code failed
  229 |
  230 |   return (
231 |     <Dialog open={isOpen} onOpenChange={setIsOpen}>
      |      ^^^^^^
  232 |       <DialogContent className="sm:max-w-md">
  233 |         <DialogHeader>
  234 |           <DialogTitle>{transaction ? 'Editar Transacción' : 'Añadir Transacción'}</DialogTitle>

Unexpected token `Dialog`. Expected jsx identifier

I checked manually the document but it seems to be right. I asked the AI to go back but even it apparently tries to recover, stays at same point.