Selaa lähdekoodia

Fix lint error

Mudana-Grune 2 vuotta sitten
vanhempi
sitoutus
98dfb8df4f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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 });