From 8a10ac49ecd8a677eb3d0f160d0d5f132d1ec2f2 Mon Sep 17 00:00:00 2001 From: Jungjjeong Date: Tue, 13 Feb 2024 23:28:10 +0900 Subject: [PATCH] =?UTF-8?q?jungjjeong=20|=20fix:=20crop=20=EC=9D=B4?= =?UTF-8?q?=EB=AF=B8=EC=A7=80=20=ED=99=94=EB=A9=B4=EC=9D=BC=20=EB=95=8C=20?= =?UTF-8?q?appbar=20=EB=AF=B8=EB=85=B8=EC=B6=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/post/index.tsx | 50 ++++++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/src/app/post/index.tsx b/src/app/post/index.tsx index 9cbf0df..30d82a9 100644 --- a/src/app/post/index.tsx +++ b/src/app/post/index.tsx @@ -131,30 +131,32 @@ export const Post = () => { return ( { - if (image.length || text.length) { - void handleModal(); - } else { - navigate("/post/keyword"); - } - }} - /> - } - content={ -
- 칭찬 게시물 작성 -
- } - /> + !openCrop && ( + { + if (image.length || text.length) { + void handleModal(); + } else { + navigate("/post/keyword"); + } + }} + /> + } + content={ +
+ 칭찬 게시물 작성 +
+ } + /> + ) } > {openCrop ? (