Skip to content

Commit

Permalink
[webclient] 로그인 여부 체크 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ars-ki-00 committed Oct 5, 2024
1 parent 15a4e13 commit 0b7044f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { useGuardContext } from '@/hooks/useGuardContext';
export const LayoutProfile = () => {
const { data: myInfo } = useMyInfo();

const isTempUser = myInfo && myInfo.type === 'success' && !myInfo.data.localId && !myInfo.data.facebookName;
const isTempUser = myInfo && myInfo.type === 'success' && !myInfo.data.email && !myInfo.data.facebookName;
const isLoginButton = isTempUser;

return isLoginButton ? (
Expand Down

0 comments on commit 0b7044f

Please sign in to comment.