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,