Browse Source

Fix lint error

Mudana-Grune 2 năm trước cách đây
mục cha
commit
98dfb8df4f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      apps/app/src/components/PageComment.tsx

+ 1 - 1
apps/app/src/components/PageComment.tsx

@@ -90,7 +90,7 @@ export const PageComment: FC<PageCommentProps> = memo((props: PageCommentProps):
     }
   }, [mutate, onCancelDeleteComment, onCommentCountUpdated]);
 
-  const onDeleteComment = useCallback(async () => {
+  const onDeleteComment = useCallback(async() => {
     if (commentToBeDeleted == null) return;
     try {
       await apiPost('/comments.remove', { comment_id: commentToBeDeleted._id });