From 7ab54a8f392591ebeb3659115d01d2ffe1166ca3 Mon Sep 17 00:00:00 2001 From: Chiman2937 Date: Thu, 1 Jan 2026 14:49:31 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20router.replace=20=EC=A0=84=EC=97=90=20ro?= =?UTF-8?q?uter.refresh=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/use-auth/use-auth-login/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hooks/use-auth/use-auth-login/index.ts b/src/hooks/use-auth/use-auth-login/index.ts index 31e9c4d3..59aabbb2 100644 --- a/src/hooks/use-auth/use-auth-login/index.ts +++ b/src/hooks/use-auth/use-auth-login/index.ts @@ -75,6 +75,7 @@ export const useLogin = () => { setIsAuthenticated(true); const nextPath = normalizePath(searchParams.get('path')); + router.refresh(); router.replace(nextPath); } catch (error) { if (isCommonErrorResponse(error)) {