Skip to content

Commit

Permalink
fix(ui): Auto refresh session
Browse files Browse the repository at this point in the history
  • Loading branch information
daryllimyt committed Mar 26, 2024
1 parent f7ba3a4 commit d103313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/providers/session.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ export const SessionContextProvider = ({
setSession(session)
setIsLoading(false)
}
await supabaseClient.auth.startAutoRefresh()
}

getSession()
supabaseClient.auth.startAutoRefresh()

return () => {
mounted = false
Expand Down

0 comments on commit d103313

Please sign in to comment.