develop #83

Merged
M-Gabrielly merged 426 commits from develop into main 2025-12-04 04:13:15 +00:00
Showing only changes of commit 59a9f8da15 - Show all commits

View File

@ -177,8 +177,8 @@ const ProfissionalPage = () => {
} }
})(); })();
return () => { mounted = false; }; return () => { mounted = false; };
// eslint-disable-next-line react-hooks/exhaustive-deps // Re-run when user id becomes available so patients assigned to the logged-in doctor are loaded
}, []); }, [user?.id]);
// Carregar perfil do médico correspondente ao usuário logado // Carregar perfil do médico correspondente ao usuário logado
useEffect(() => { useEffect(() => {