diff --git a/src/hooks/use-auth/use-auth-login/index.ts b/src/hooks/use-auth/use-auth-login/index.ts index 59aabbb2..35e004f5 100644 --- a/src/hooks/use-auth/use-auth-login/index.ts +++ b/src/hooks/use-auth/use-auth-login/index.ts @@ -75,8 +75,9 @@ export const useLogin = () => { setIsAuthenticated(true); const nextPath = normalizePath(searchParams.get('path')); - router.refresh(); - router.replace(nextPath); + // router.refresh(); + // router.replace(nextPath); + router.push(nextPath); } catch (error) { if (isCommonErrorResponse(error)) { console.error('[LOGIN ERROR]', error.errorCode, error.detail);