From ae66dfd4c4a2a6148b0b3f609b105f11d28375fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=82=98=EC=97=B0?= <103591752+kongnayeon@users.noreply.github.com> Date: Thu, 29 May 2025 14:22:50 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"Revert=20"=20[Hotfix]=20=EC=84=9C?= =?UTF-8?q?=EB=B2=84=20=EC=97=90=EB=9F=AC=20=EC=95=8C=EB=A6=BC=20=EB=AA=A8?= =?UTF-8?q?=EB=8B=AC=20=EC=A0=9C=EA=B1=B0=20(#194)"=20(#195)"=20(#196)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 19c1265b6f14ccda2df4f904daee7e5e9766609f. --- apps/web/src/app/join/Join.tsx | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/apps/web/src/app/join/Join.tsx b/apps/web/src/app/join/Join.tsx index 77fdcf0..395e610 100644 --- a/apps/web/src/app/join/Join.tsx +++ b/apps/web/src/app/join/Join.tsx @@ -5,14 +5,13 @@ import * as styles from './page.css'; import InsteadLogoImage from '@web/assets/images/instead.svg'; import { Spacing } from '@repo/ui/Spacing'; import JoinImage from '@web/assets/images/join.png'; -import { useToast, useModal } from '@repo/ui/hooks'; +import { useToast } from '@repo/ui/hooks'; import { useEffect } from 'react'; import { Text } from '@repo/ui/Text'; import { GoogleLoginButton } from './_components/GoogleLoginButton/GoogleLoginButton'; export default function JoinPage() { const toast = useToast(); - const modal = useModal(); useEffect(() => { const params = new URLSearchParams(window.location.search); @@ -22,15 +21,9 @@ export default function JoinPage() { }, [toast]); const handleGoogleLogin = async () => { - //window.location.href = process.env.NEXT_PUBLIC_GOOGLE_AUTH_URL ?? ''; - modal.alert({ - title: '서버 점검 중', - description: - '5/30(금) 오전 1시에 완료될 예정이에요\n이용에 불편을 드려 죄송해요', - alertButton: '확인', - isCloseOnDimmerClick: false, - }); + window.location.href = process.env.NEXT_PUBLIC_GOOGLE_AUTH_URL ?? ''; }; + return (