Skip to content

Commit

Permalink
[webclient] temp_login 조건 수정 (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
ars-ki-00 authored Oct 12, 2024
1 parent f4685a6 commit 294f7f8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ? (
Expand Down

0 comments on commit 294f7f8

Please sign in to comment.