Merge branch 'master' of github.com:supabase/supabase

This commit is contained in:
Terry Sutton committed 2024-07-30 10:39:47 -02:30
commit 61a0a2ae6d
1 file changed
-5
@@ -63,11 +63,6 @@ const SignInLayout = ({
await queryClient.resetQueries()
router.push(getReturnToPath())
} else {
// if the user doesn't have a token, he needs to go back to the sign-in page
const redirectTo = buildPathWithParams('/sign-in')
router.replace(redirectTo)
return
}
})
.catch(() => {}) // catch all errors thrown by auth methods