From 468143ae0f4c59fc8dcbc81d4a71ca038984a888 Mon Sep 17 00:00:00 2001 From: ngc2207 Date: Mon, 3 Feb 2025 12:14:54 +0800 Subject: [PATCH] feat(dashboard): integrate CreateWorkspaceForm into HomePage --- src/app/(dashboard)/page.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/(dashboard)/page.tsx b/src/app/(dashboard)/page.tsx index 84e935f..08110f3 100644 --- a/src/app/(dashboard)/page.tsx +++ b/src/app/(dashboard)/page.tsx @@ -1,5 +1,6 @@ import { redirect } from "next/navigation"; import { getCurrent } from "@/features/auth/actions"; +import { CreateWorkspaceForm } from "@/features/workspaces/components/create-workspace-form"; export default async function HomePage() { const user = await getCurrent(); @@ -7,8 +8,8 @@ export default async function HomePage() { if (!user) redirect("/sign-in"); return ( -
- This is a home page +
+
); }