import { Suspense } from "react"; import { ContinueWatchingSectionSkeleton, StatsSectionSkeleton, TitleGridSectionSkeleton, } from "@/components/skeletons"; import { getSession } from "@/lib/auth/session"; import { ContinueWatchingSection } from "./_components/continue-watching-section"; import { LibrarySection } from "./_components/library-section"; import { RecommendationsSection } from "./_components/recommendations-section"; import { StatsSection } from "./_components/stats-section"; import { WelcomeHeader } from "./_components/welcome-header"; export default async function DashboardPage() { const session = await getSession(); if (!session) return null; return (