Skip to content

Commit

Permalink
fix: 상품정보 수정 시, 신규 상품으로 등록됨 (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
shinhyojeong committed Jan 30, 2024
2 parents fb45330 + ef960d0 commit 819baf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/post/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const PostPage = ({ type, editPostId }: Props): ReactElement => {
thumbnailImageUrl: thumbnailImageUrl
}

if (type === 'update') {
if (type === 'edit') {
await updatePostMutation.mutateAsync({
postId,
...nextPost,
Expand Down

0 comments on commit 819baf7

Please sign in to comment.