From 77082d3fb8c494e479a577661a0e81ae20244dfd Mon Sep 17 00:00:00 2001 From: kangnayeon Date: Thu, 29 May 2025 05:37:36 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=AA=A8=EB=8B=AC=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 (