Просмотр исходного кода

134432 remove null to pass lint

soumaeda 2 лет назад
Родитель
Сommit
ef1c8430fd
1 измененных файлов с 1 добавлено и 1 удалено
  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));