Jelajahi Sumber

134432 remove null to pass lint

soumaeda 2 tahun lalu
induk
melakukan
ef1c8430fd
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      apps/app/src/components/PageEditor/MarkdownTableUtil.js

+ 1 - 1
apps/app/src/components/PageEditor/MarkdownTableUtil.js

@@ -89,7 +89,7 @@ class MarkdownTableUtil {
    */
   getMarkdownTable(editor) {
     if (!this.isInTable(editor)) {
-      return null;
+      return;
     }
 
     const strFromBotToEot = editor.getDoc().getRange(this.getBot(editor), this.getEot(editor));