import { IconDeviceTv } from "@tabler/icons-react"; import Link from "next/link"; import { getUserStats } from "@/lib/services/discovery"; import { StatsDisplay } from "./stats-display"; export async function StatsSection({ userId }: { userId: string }) { const stats = await getUserStats(userId); const isEmpty = stats.moviesThisMonth === 0 && stats.episodesThisWeek === 0 && stats.librarySize === 0 && stats.completed === 0; return ( <> {isEmpty && (

Your library is empty

Search for movies and TV shows to start tracking

Start exploring
)} ); }