diff --git a/src/app/dashboard/page.tsx b/src/app/dashboard/page.tsx index ae112e2..3f83ef5 100644 --- a/src/app/dashboard/page.tsx +++ b/src/app/dashboard/page.tsx @@ -3,6 +3,7 @@ import { format } from "date-fns"; import { CalendarClient } from "./calendar-client"; import { Button } from "@/components/ui/button"; import { Suspense } from "react"; +import Link from "next/link"; interface DashboardPageProps { searchParams: Promise<{ date?: string }>; @@ -45,9 +46,10 @@ async function DashboardContent({ searchParams }: { searchParams: { date?: strin
{workouts.length > 0 ? ( workouts.map((workout) => ( -

{workout.name}

@@ -70,7 +72,7 @@ async function DashboardContent({ searchParams }: { searchParams: { date?: strin )}
-
+ )) ) : (