prod
This commit is contained in:
+1
-7
@@ -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 />
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user