diff --git a/src/components/ProfileSheet.tsx b/src/components/ProfileSheet.tsx index 1842e7c..4211365 100644 --- a/src/components/ProfileSheet.tsx +++ b/src/components/ProfileSheet.tsx @@ -72,6 +72,10 @@ export function ProfileSheet({ open, onOpenChange }: ProfileSheetProps) { name: name.trim(), company: company.trim() || null, }), + // Timeout de 8s: si Supabase no responde (cold start, red lenta, etc.), + // el catch muestra un mensaje de error y libera el botón. + // Sin esto, la modal queda abierta indefinidamente bloqueando todo el UI. + signal: AbortSignal.timeout(8000), } )