From 6cdf3e71eea30a60201633dad89a70eaa87d487c Mon Sep 17 00:00:00 2001 From: yeonddori Date: Sun, 21 Jul 2024 06:51:45 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20/login=20=EA=B2=BD=EB=A1=9C=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #109 --- src/hooks/useCurrentPath.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useCurrentPath.ts b/src/hooks/useCurrentPath.ts index 15b20df..1619425 100644 --- a/src/hooks/useCurrentPath.ts +++ b/src/hooks/useCurrentPath.ts @@ -10,7 +10,7 @@ const useCurrentPath = () => { const setCurrentPath = useSetAtom(loginBackPathAtom); useEffect(() => { - const excludedPaths = ['/login/oauth2/code/kakao']; + const excludedPaths = ['/login', '/login/oauth2/code/kakao']; if (excludedPaths.includes(window.location.pathname)) { return; }