Skip to content

Commit

Permalink
Merge pull request #77 from Joseonpaldo/minseok
Browse files Browse the repository at this point in the history
build error fix
  • Loading branch information
themerous authored Sep 14, 2024
2 parents 8f02c84 + 3a4d7ac commit 1574f05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
10 changes: 0 additions & 10 deletions src/components/auth/login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ export default function Login() {
const loginWithKakao = () => {
location.href = "/api/login/oauth2/kakao"
}
const loginwithGuest = () => {
location.href = ""
}

return <FlexBox
sx={{
Expand Down Expand Up @@ -66,13 +63,6 @@ export default function Login() {
Kakao
</SocialIconButton>

<SocialIconButton
onClick={loginwithGuest}
startIcon={<KakaoIcon sx={{mr: 1}}/>}
>
Guest
</SocialIconButton>

</FlexBox>
</Card>
</FlexBox>
Expand Down
5 changes: 4 additions & 1 deletion src/components/core/theme-provider/emotion-cache.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,15 @@ export default function NextAppDirEmotionCacheProvider(props: NextAppDirEmotionC

if (typeof style !== 'boolean') {
if (isGlobal) {
globals.push({ name, style });
if (style !== undefined) { // style이 undefined가 아닐 때만 추가
globals.push({ name, style });
}
} else {
styles += style;
dataEmotionAttribute += ` ${name}`;
}
}

});

return (
Expand Down

0 comments on commit 1574f05

Please sign in to comment.