diff --git a/modules/firebase/AuthProvider.ts b/modules/firebase/AuthProvider.ts index 71cca196..8ffaff33 100644 --- a/modules/firebase/AuthProvider.ts +++ b/modules/firebase/AuthProvider.ts @@ -23,7 +23,6 @@ export const AuthProvider = () => { useRegisterAuthServiceWorker(firebaseConfig) useEffect(() => { - // TODO: This is not ideal, results with double redirect. To investigate const isSignIn = window.location.pathname === routes.signIn if (isSignIn && user) { window.location.assign(routes.home)