From b69c9953c74bccdacd593a1674e74485cfe95bf0 Mon Sep 17 00:00:00 2001 From: basssy Date: Fri, 7 Mar 2025 12:30:41 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AC=BC=EA=B1=B4=EC=83=81=EC=84=B8=ED=99=94?= =?UTF-8?q?=EB=A9=B4=EC=97=90=EC=84=9C=20=EB=A1=9C=EA=B7=B8=EC=95=84?= =?UTF-8?q?=EC=9B=83=20->=20=EB=92=A4=EB=A1=9C=EA=B0=80=EA=B8=B0=20..=20?= =?UTF-8?q?=EC=B2=98=EB=A6=AC=EC=88=98=EC=A0=95=20Header.jsx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/main/useMainContentsController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/main/useMainContentsController.js b/src/hooks/main/useMainContentsController.js index 5b620475..f065c90f 100644 --- a/src/hooks/main/useMainContentsController.js +++ b/src/hooks/main/useMainContentsController.js @@ -16,7 +16,7 @@ export const useMainContentsController = () => { useEffect(() => { checkSession().then((res) => { if (!res) { - router.replace('/login') + router.replace('/login', undefined, { shallow: true }) } }) setIsGlobalLoading(true)