This commit is contained in:
Ivan Rezchikov
2026-07-11 21:20:57 +03:00
parent e192717466
commit 18161f4604
57 changed files with 1211 additions and 615 deletions
+1 -7
View File
@@ -1,5 +1,3 @@
import Header from "@/components/header";
import Footer from "@/components/footer";
import { getCurrentUser } from "@/lib/user";
import { redirect } from "next/navigation";
import CreatePageClient from "./client";
@@ -9,10 +7,6 @@ export default async function CreatePage() {
if (!user?.isAdmin) redirect("/");
return (
<>
<Header />
<CreatePageClient />
<Footer />
</>
<CreatePageClient />
);
}