From 68aeb045776c9205e6e8fd9877769fc33e343fe0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=EA=B9=80=EC=A7=84=ED=98=B8?= <rlawlsgh1227@gmail.com>
Date: Wed, 27 Nov 2024 10:00:45 +0900
Subject: [PATCH] =?UTF-8?q?refactor:=20previousUrl=20=EC=9D=B4=EC=A4=91?=
 =?UTF-8?q?=EB=B6=80=EC=A0=95=EA=B5=AC=EB=AC=B8=20=EA=B8=8D=EC=A0=95?=
 =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EA=B0=9C=EC=84=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 client/src/hooks/useLoginPage.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/src/hooks/useLoginPage.ts b/client/src/hooks/useLoginPage.ts
index 07aa03b1..2d9f83fe 100644
--- a/client/src/hooks/useLoginPage.ts
+++ b/client/src/hooks/useLoginPage.ts
@@ -19,7 +19,7 @@ const useLoginPage = () => {
     const queryResult = await requestGetClientId();
     const clientId = queryResult.data?.clientId;
 
-    if (typeof previousUrl !== 'undefined') {
+    if (typeof previousUrl === 'string') {
       SessionStorage.set<string>(SESSION_STORAGE_KEYS.previousUrlForLogin, previousUrl);
     }