diff --git a/src/@modal/layouts/LoginModal.tsx b/src/@modal/layouts/LoginModal.tsx index f9d16059..5876ec5b 100644 --- a/src/@modal/layouts/LoginModal.tsx +++ b/src/@modal/layouts/LoginModal.tsx @@ -11,7 +11,8 @@ const LoginModal = () => { const handleLoginButtonClick = () => { if (isWindow) { - router.push(process.env.NEXT_PUBLIC_OAUTH_URL || ROUTER.HOME); + window.open(process.env.NEXT_PUBLIC_OAUTH_URL || ROUTER.HOME); + // router.push(process.env.NEXT_PUBLIC_OAUTH_URL || ROUTER.HOME); } }; diff --git a/src/templates/post/layouts/detail/SectionBox.tsx b/src/templates/post/layouts/detail/SectionBox.tsx index b90e2401..62366e81 100644 --- a/src/templates/post/layouts/detail/SectionBox.tsx +++ b/src/templates/post/layouts/detail/SectionBox.tsx @@ -74,7 +74,7 @@ const StyledAnchor = styled(Link)` text-decoration: underline; `; -const StyledImage = styled(Image)` +const StyledImage = styled.img` width: 50%; height: auto; `;