Explorar el Código

Fix lint error

Mudana-Grune hace 2 años
padre
commit
98dfb8df4f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 });