From 6d52e7b5b67000943c4594c61c63e07ffd1f7a4b Mon Sep 17 00:00:00 2001 From: Henit Chobisa Date: Fri, 22 Sep 2023 10:55:17 +0000 Subject: [PATCH] chore: updated path for home --- space/components/accounts/sign-in.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/space/components/accounts/sign-in.tsx b/space/components/accounts/sign-in.tsx index ca6aa9e47..c6a151d44 100644 --- a/space/components/accounts/sign-in.tsx +++ b/space/components/accounts/sign-in.tsx @@ -33,7 +33,7 @@ export const SignInView = observer(() => { const onSignInSuccess = (response: any) => { const isOnboarded = response?.user?.onboarding_step?.profile_complete || false; - const nextPath = router.asPath.includes("next_path") ? router.asPath.split("/?next_path=")[1] : "/home"; + const nextPath = router.asPath.includes("next_path") ? router.asPath.split("/?next_path=")[1] : "/login"; userStore.setCurrentUser(response?.user);