From 4360ee915ed165e3b27ab99d0205746f37a1f33b Mon Sep 17 00:00:00 2001 From: ars-ki-00 Date: Sat, 12 Oct 2024 15:32:14 +0900 Subject: [PATCH] =?UTF-8?q?[webclient]=20temp=5Flogin=20=EC=A1=B0=EA=B1=B4?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/layout/layout-profile/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/snutt-webclient/src/components/layout/layout-profile/index.tsx b/apps/snutt-webclient/src/components/layout/layout-profile/index.tsx index e3615d3..dc35d05 100644 --- a/apps/snutt-webclient/src/components/layout/layout-profile/index.tsx +++ b/apps/snutt-webclient/src/components/layout/layout-profile/index.tsx @@ -9,7 +9,8 @@ import { useGuardContext } from '@/hooks/useGuardContext'; export const LayoutProfile = () => { const { data: myInfo } = useMyInfo(); - const isTempUser = myInfo && myInfo.type === 'success' && !myInfo.data.email && !myInfo.data.facebookName; + const isTempUser = + myInfo && myInfo.type === 'success' && !myInfo.data.localId && !myInfo.data.email && !myInfo.data.facebookName; const isLoginButton = isTempUser; return isLoginButton ? (