Skip to content

Commit

Permalink
fix: 댓글 등록시 경고창
Browse files Browse the repository at this point in the history
  • Loading branch information
toothlessdev committed May 20, 2024
1 parent 40e49a0 commit 3a14131
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/comment/comment.hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const useComment = () => {
(content: string) => {
commentService.createComment(category as string, parseInt(boothId as string), visitorId as string, content);
setRefetch(true);
alert("댓글이 등록되었습니다!");
},
[category, boothId, visitorId],
);
Expand Down

0 comments on commit 3a14131

Please sign in to comment.