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')}> 대학생