diff --git a/app/profile/[id]/page.tsx b/app/profile/[id]/page.tsx index 0e8f59da..d6d0871d 100644 --- a/app/profile/[id]/page.tsx +++ b/app/profile/[id]/page.tsx @@ -1,11 +1,7 @@ 'use client'; import NotFound from '@/app/not-found'; -import { - BackButton, - GlobalNavigationBar, - HeaderBar, -} from '@/components/molecules'; +import { GlobalNavigationBar, HeaderBar } from '@/components/molecules'; import { ProfileContainerSkeleton, useProfileData } from '@/features/profile'; import { MyPageHeader, @@ -34,9 +30,9 @@ export default function Profile({ params }: Mypage) { return (
- + {/* - + */} diff --git a/features/profile/components/molecules/profile-container-skeleton.tsx b/features/profile/components/molecules/profile-container-skeleton.tsx index 29238762..0f2ae363 100644 --- a/features/profile/components/molecules/profile-container-skeleton.tsx +++ b/features/profile/components/molecules/profile-container-skeleton.tsx @@ -1,3 +1,4 @@ +import { RecommendedProfileCardListSkeleton } from '@/features/profile-recommend'; import { css } from '@/styled-system/css'; import { flex } from '@/styled-system/patterns'; @@ -25,6 +26,7 @@ export function ProfileContainerSkeleton() {
+
diff --git a/features/profile/components/organisms/my-page.tsx b/features/profile/components/organisms/my-page.tsx index da8dd65f..7722386e 100644 --- a/features/profile/components/organisms/my-page.tsx +++ b/features/profile/components/organisms/my-page.tsx @@ -1,18 +1,13 @@ 'use client'; import Link from 'next/link'; -import { lazy, Suspense, useState } from 'react'; +import { useState } from 'react'; import { Button } from '@/components/atoms'; import { StatisticsIcon } from '@/components/atoms'; import BadgeIcon from '@/components/atoms/icons/badge-icon'; import { Tab, TabItem } from '@/components/molecules'; -const LazyRecommendedProfileCardList = lazy(() => - import('@/features/profile-recommend').then((module) => ({ - default: module.RecommendedProfileCardList, - })), -); -import { RecommendedProfileCardListSkeleton } from '@/features/profile-recommend'; +import { RecommendedProfileCardList } from '@/features/profile-recommend'; import { useToast } from '@/hooks'; import { css } from '@/styled-system/css'; import { flex } from '@/styled-system/patterns'; @@ -66,9 +61,7 @@ export function MyProfile({ />
- }> - - +