Browse Source

fix lint error

ryoji-s 3 years ago
parent
commit
5e349bebe8
1 changed files with 2 additions and 2 deletions
  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;