Skip to content

Commit e59cd56

Browse files
committed
마이페이지 safearea 적용
1 parent 93070ee commit e59cd56

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/pages/MyPage/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ import Profile from '@/features/my/components/Profile';
44
import MyTrade from '@/features/my/components/MyTrade';
55
import { useGetUser } from '@/features/my/apis/useGetUser';
66
import NotFoundPage from '../NotFoundPage';
7+
import SafeArea from '@/common/components/SafeArea';
78

89
const MyPage = () => {
910
const { data, isLoading, isError } = useGetUser();
1011

1112
if (isLoading) return null;
1213

1314
return (
14-
<>
15+
<SafeArea>
1516
<MainTopBar />
1617
{isError ? (
1718
<NotFoundPage />
@@ -23,7 +24,7 @@ const MyPage = () => {
2324
</div>
2425
)
2526
)}
26-
</>
27+
</SafeArea>
2728
);
2829
};
2930

0 commit comments

Comments
 (0)