From 2d4539bad6bc8d7d1bd94076e6e16426937295e2 Mon Sep 17 00:00:00 2001 From: ww8007 Date: Thu, 27 Jul 2023 03:31:52 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=86=8C=EA=B0=9C=20=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=20=EC=9D=B4=EB=8F=99=20=EC=98=A4=EB=A5=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/IntroducePage.tsx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/pages/IntroducePage.tsx b/src/pages/IntroducePage.tsx index 1a794246..2d62c688 100644 --- a/src/pages/IntroducePage.tsx +++ b/src/pages/IntroducePage.tsx @@ -5,22 +5,15 @@ import Text from '@/common-ui/Text'; import { navigatePath } from '@/constants/navigatePath'; import FriendFollowingItem from '@/friend/ui/friend/FriendFollowingItem'; import SettingsBox from '@/members/ui/SettingsBox'; -import useAuthStore from '@/store/auth'; import getRem from '@/utils/getRem'; import { css } from '@emotion/react'; import styled from '@emotion/styled'; import { useNavigate } from 'react-router-dom'; const IntroducePage = () => { - const { showIntroduce, setShowIntroduce } = useAuthStore(); - const navigate = useNavigate(); const onClickConfirm = () => { - if (showIntroduce) { - navigate(navigatePath.PROFILE); - setShowIntroduce(false); - } - if (!showIntroduce) navigate(-1); + navigate(navigatePath.PROFILE); }; return (