feat: add recent plans history to homepage
This commit is contained in:
@@ -8,6 +8,7 @@ import { Button } from "@/components/ui/button"
|
||||
import { PlanLoginForm } from "@/components/plan-login-form"
|
||||
import { PlanDashboard } from "./_components/plan-dashboard"
|
||||
import { getDictionary } from "@/get-dictionary"
|
||||
import { PlanTracker } from "@/components/plan-tracker"
|
||||
|
||||
export default async function DashboardPage({
|
||||
params
|
||||
@@ -39,6 +40,7 @@ export default async function DashboardPage({
|
||||
|
||||
return (
|
||||
<main className="flex min-h-screen flex-col items-center p-4">
|
||||
<PlanTracker planId={plan.id} title={plan.title} />
|
||||
<div className="w-full max-w-4xl space-y-6">
|
||||
<div className="flex flex-col gap-4">
|
||||
<Button variant="ghost" size="sm" asChild className="w-fit -ml-2 text-muted-foreground">
|
||||
|
||||
Reference in New Issue
Block a user