Skip to content

Commit

Permalink
fix: 수정시에 새 제품 등록되는 이슈 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
shinhyojeong committed Jan 30, 2024
1 parent fb45330 commit ef960d0
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 ef960d0

Please sign in to comment.