From 29470c2283f442653e82d5ef18da4c8de2c3a2a3 Mon Sep 17 00:00:00 2001 From: chsua Date: Tue, 25 Jul 2023 19:50:16 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20(#123)=20=EA=B2=8C=EC=8B=9C=EA=B8=80=20?= =?UTF-8?q?=EC=9E=91=EC=84=B1/=EC=88=98=EC=A0=95=20=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=EC=97=90=20=EB=A0=88=EC=9D=B4=EC=95=84=EC=9B=83=20?= =?UTF-8?q?=EC=BB=B4=ED=8F=AC=EB=84=8C=ED=8A=B8=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/post/CreatePost/index.tsx | 5 +++-- frontend/src/pages/post/EditPost/index.tsx | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/src/pages/post/CreatePost/index.tsx b/frontend/src/pages/post/CreatePost/index.tsx index f1307ed74..9e8566bc9 100644 --- a/frontend/src/pages/post/CreatePost/index.tsx +++ b/frontend/src/pages/post/CreatePost/index.tsx @@ -2,6 +2,7 @@ import { useEffect } from 'react'; import { useCreatePost } from '@hooks/query/post/useCreatePost'; +import Layout from '@components/common/Layout'; import PostForm from '@components/PostForm'; export default function CreatePost() { @@ -12,8 +13,8 @@ export default function CreatePost() { }, []); return ( - <> + - + ); } diff --git a/frontend/src/pages/post/EditPost/index.tsx b/frontend/src/pages/post/EditPost/index.tsx index 42ae72a67..d8a6f482c 100644 --- a/frontend/src/pages/post/EditPost/index.tsx +++ b/frontend/src/pages/post/EditPost/index.tsx @@ -4,6 +4,7 @@ import { PostInfo } from '@type/post'; import { useEditPost } from '@hooks/query/post/useEditPost'; +import Layout from '@components/common/Layout'; import PostForm from '@components/PostForm'; export default function EditPost() { @@ -55,8 +56,8 @@ export default function EditPost() { }; return ( - <> + - + ); }