diff --git a/app/(app)/create/[[...paramsArr]]/page.tsx b/app/(app)/create/[[...paramsArr]]/page.tsx deleted file mode 100644 index 96ab2f28..00000000 --- a/app/(app)/create/[[...paramsArr]]/page.tsx +++ /dev/null @@ -1,16 +0,0 @@ -import { redirect } from "next/navigation"; -import Content from "./_client"; -import { getServerAuthSession } from "@/server/auth"; - -export const metadata = { - title: "New post - Codú", -}; - -export default async function Page() { - const session = await getServerAuthSession(); - if (!session) { - redirect("/get-started"); - } - - return ; -} diff --git a/app/(app)/layout.tsx b/app/(app)/layout.tsx index 16def67f..cdb45497 100644 --- a/app/(app)/layout.tsx +++ b/app/(app)/layout.tsx @@ -79,22 +79,13 @@ export default async function RootLayout({ return ( <> - - - - - -