From a7cb2e873c53c305fdd4aef4248c38ab4339434c Mon Sep 17 00:00:00 2001 From: kiyeong Date: Thu, 8 Aug 2024 11:18:24 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20Mypage=20=20=EC=83=81=EB=8B=A8=EB=B0=94?= =?UTF-8?q?=20=ED=83=AD=20=EC=99=BC=EC=AA=BD=EC=9C=BC=EB=A1=9C=20=EC=9D=B4?= =?UTF-8?q?=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/MyPage/index.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/pages/MyPage/index.tsx b/src/pages/MyPage/index.tsx index 928709d..8382e3d 100644 --- a/src/pages/MyPage/index.tsx +++ b/src/pages/MyPage/index.tsx @@ -25,6 +25,10 @@ export const MyPage = () => { const { mailData, mailLoading, mailError } = useGetMail(page, 5, isJob); + useEffect(() => { + window.scrollTo(0, 0); + }, []); + useEffect(() => { setPage(0); }, [isJob]); @@ -41,7 +45,7 @@ export const MyPage = () => { - + @@ -52,7 +56,7 @@ export const MyPage = () => { - + setIsJob('univ')}> 대학생