Skip to content

Commit

Permalink
Merge pull request #143 from Myongji-Graduate/fix/mypage-skeleton
Browse files Browse the repository at this point in the history
fix: fix my page userInfo skeleton
  • Loading branch information
gahyuun authored Sep 11, 2024
2 parents 4f123d7 + ad97599 commit fc4b6d6
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions app/(sub-page)/my/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { DIALOG_KEY } from '@/app/utils/key/dialog-key.util';
import { Suspense } from 'react';
import MyResultContainer from './components/my-result-container';
import SignButtonGroup from '@/app/ui/user/user-info-navigator/sign-button-group';
import Responsive from '@/app/ui/responsive';
import ContentContainer from '@/app/ui/view/atom/content-container/content-container';
import TakenLectureSkeleton from '@/app/ui/lecture/taken-lecture/taken-lecture.skeleton';
import type { Metadata } from 'next';
Expand All @@ -33,16 +32,14 @@ export default function MyPage() {
return (
<>
<ContentContainer className="flex pt-10 lg:pt-16">
<Responsive minWidth={1023}>
<div className="lg:w-[30%]">
<Suspense fallback={<UserInfoNavigatorSkeleton />}>
<UserInfoNavigator />
<div className="mt-9">
<SignButtonGroup />
</div>
</Suspense>
</div>
</Responsive>
<div className="lg:w-[30%] lg:block hidden">
<Suspense fallback={<UserInfoNavigatorSkeleton />}>
<UserInfoNavigator />
<div className="mt-9">
<SignButtonGroup />
</div>
</Suspense>
</div>
<div className="w-full lg:w-[70%] px-7 lg:px-[20px] pt-4 pb-2 flex flex-col gap-12">
<MyResultContainer />
<Suspense fallback={<TakenLectureSkeleton />}>
Expand Down

0 comments on commit fc4b6d6

Please sign in to comment.