diff --git a/app/(app)/page.tsx b/app/(app)/page.tsx index da6f174..584afa0 100644 --- a/app/(app)/page.tsx +++ b/app/(app)/page.tsx @@ -2,6 +2,7 @@ import Link from "next/link"; import { Button } from "@/components/ui/button"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { BrandMark } from "@/components/layout/BrandMark"; +import { SessionsTable } from "@/components/sessions/SessionsTable"; import { listSessions } from "@/lib/db/queries/sessions"; import { getSessionsSummary } from "@/lib/db/queries/stats"; @@ -55,21 +56,10 @@ export default async function DashboardPage() { - Recent sessions + Recent sessions - - {recentSessions.length === 0 &&

No sessions yet.

} - {recentSessions.map((s, i) => ( - - {i > 0 &&
} -
- {s.name ?? `Session #${s.id}`} - - {new Date(s.startedAt).toLocaleDateString()} - -
- - ))} + +