diff --git a/frontend/src/providers/session.tsx b/frontend/src/providers/session.tsx index c5aa155b8..693f615e1 100644 --- a/frontend/src/providers/session.tsx +++ b/frontend/src/providers/session.tsx @@ -91,10 +91,10 @@ export const SessionContextProvider = ({ setSession(session) setIsLoading(false) } + await supabaseClient.auth.startAutoRefresh() } getSession() - supabaseClient.auth.startAutoRefresh() return () => { mounted = false