Explorar o código

fix lint error

ryoji-s %!s(int64=3) %!d(string=hai) anos
pai
achega
5e349bebe8
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      packages/app/src/components/PageComment/CommentEditor.tsx

+ 2 - 2
packages/app/src/components/PageComment/CommentEditor.tsx

@@ -126,7 +126,7 @@ export const CommentEditor = (props: CommentEditorProps): JSX.Element => {
     }
   }, [isForNewComment, onCancelButtonClicked]);
 
-  const postCommentHandler = useCallback(async () => {
+  const postCommentHandler = useCallback(async() => {
     try {
       if (currentCommentId != null) {
         // update current comment
@@ -183,7 +183,7 @@ export const CommentEditor = (props: CommentEditorProps): JSX.Element => {
     });
   }, []);
 
-  const uploadHandler = useCallback(async (file) => {
+  const uploadHandler = useCallback(async(file) => {
     if (editorRef.current == null) { return }
 
     const pagePath = currentPagePath;