wip
This commit is contained in:
@@ -57,10 +57,8 @@ export function AuthProvider({ initialSession = null, children }: AuthProviderPr
|
||||
}, [fetchSession]);
|
||||
|
||||
useEffect(() => {
|
||||
if (initialSession) return;
|
||||
|
||||
fetchSession();
|
||||
}, [initialSession, fetchSession]);
|
||||
}, [fetchSession]);
|
||||
|
||||
const login = useCallback(
|
||||
(returnTo?: string) => {
|
||||
|
||||
Reference in New Issue
Block a user