From 2dc10ee19a9a6c313c048ef0dbf9da09981b6710 Mon Sep 17 00:00:00 2001 From: yeyounging <133792082+yeyounging@users.noreply.github.com> Date: Wed, 12 Jun 2024 13:29:24 +0900 Subject: [PATCH] =?UTF-8?q?Glue-303-login-id-=EC=98=A4=EB=A5=98=EC=88=98?= =?UTF-8?q?=EC=A0=95=20(#90)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: loginId전역관리 오류 수정 * chore: loginId 디폴트값 변경 --- src/components/Common/UserContext/UserProviderWrapper.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Common/UserContext/UserProviderWrapper.tsx b/src/components/Common/UserContext/UserProviderWrapper.tsx index 1a47699..d8c6f68 100644 --- a/src/components/Common/UserContext/UserProviderWrapper.tsx +++ b/src/components/Common/UserContext/UserProviderWrapper.tsx @@ -8,7 +8,7 @@ export default function UserProviderWrapper({ }: { children: React.ReactNode; }) { - const [loginId, setLoginId] = useState(0); + const [loginId, setLoginId] = useState(1); const contextValue = useMemo( () => ({