From ef960d02fb989b3563c7de1f29895ce2c3d50565 Mon Sep 17 00:00:00 2001 From: shinhyojeong Date: Wed, 31 Jan 2024 00:55:12 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=88=98=EC=A0=95=EC=8B=9C=EC=97=90=20?= =?UTF-8?q?=EC=83=88=20=EC=A0=9C=ED=92=88=20=EB=93=B1=EB=A1=9D=EB=90=98?= =?UTF-8?q?=EB=8A=94=20=EC=9D=B4=EC=8A=88=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/post/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/post/index.tsx b/src/pages/post/index.tsx index c824aeaf..12d76a64 100644 --- a/src/pages/post/index.tsx +++ b/src/pages/post/index.tsx @@ -138,7 +138,7 @@ const PostPage = ({ type, editPostId }: Props): ReactElement => { thumbnailImageUrl: thumbnailImageUrl } - if (type === 'update') { + if (type === 'edit') { await updatePostMutation.mutateAsync({ postId, ...nextPost,