Explorar el Código

fix lint error

ryoji-s hace 3 años
padre
commit
5e349bebe8
Se han modificado 1 ficheros con 2 adiciones y 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]);
   }, [isForNewComment, onCancelButtonClicked]);
 
 
-  const postCommentHandler = useCallback(async () => {
+  const postCommentHandler = useCallback(async() => {
     try {
     try {
       if (currentCommentId != null) {
       if (currentCommentId != null) {
         // update current comment
         // 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 }
     if (editorRef.current == null) { return }
 
 
     const pagePath = currentPagePath;
     const pagePath = currentPagePath;