From 9b20a69f170e0700290ecf14a1c722524841e22b Mon Sep 17 00:00:00 2001 From: Pahan Sarathchandra Date: Sun, 19 May 2024 16:35:02 +0300 Subject: [PATCH] Clean up new-post page --- src/app/new-post/layout.tsx | 13 ------------- src/app/new-post/page.tsx | 9 --------- 2 files changed, 22 deletions(-) delete mode 100644 src/app/new-post/layout.tsx delete mode 100644 src/app/new-post/page.tsx diff --git a/src/app/new-post/layout.tsx b/src/app/new-post/layout.tsx deleted file mode 100644 index 137f3a0..0000000 --- a/src/app/new-post/layout.tsx +++ /dev/null @@ -1,13 +0,0 @@ -import type { Metadata } from "next"; - -export const metadata: Metadata = { - title: "Create new blog post", -}; - -interface NewPostLayoutProps { - children: React.ReactNode; -} - -export default function NewPostLayout({ children }: NewPostLayoutProps) { - return
{children}
; -} diff --git a/src/app/new-post/page.tsx b/src/app/new-post/page.tsx deleted file mode 100644 index b7dc39c..0000000 --- a/src/app/new-post/page.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { EditPost } from "../components/EditPost/EditPost"; - -export default function NewPostPage() { - return ( -
- -
- ); -}