diff --git a/src/components/profile/ProfilePageClient.tsx b/src/components/profile/ProfilePageClient.tsx index 57f394859..079b89155 100644 --- a/src/components/profile/ProfilePageClient.tsx +++ b/src/components/profile/ProfilePageClient.tsx @@ -1,21 +1,7 @@ 'use client'; -import dynamic from 'next/dynamic'; import { ScalableProfile, Project } from '@/types/database'; - -// Dynamic import to keep initial payload small and preserve a skeleton -const ProfileLayout = dynamic(() => import('@/components/profile/ProfileLayout'), { - ssr: false, - loading: () => ( -
-
-
-
-
-
-
- ), -}); +import ProfileLayout from '@/components/profile/ProfileLayout'; interface ProfilePageClientProps { profile: ScalableProfile; @@ -38,12 +24,5 @@ interface ProfilePageClientProps { } export default function ProfilePageClient({ profile, projects, stats }: ProfilePageClientProps) { - return ( - - ); + return ; } -