فهرست منبع

134432 remove null to pass lint

soumaeda 2 سال پیش
والد
کامیت
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) {
   getMarkdownTable(editor) {
     if (!this.isInTable(editor)) {
     if (!this.isInTable(editor)) {
-      return null;
+      return;
     }
     }
 
 
     const strFromBotToEot = editor.getDoc().getRange(this.getBot(editor), this.getEot(editor));
     const strFromBotToEot = editor.getDoc().getRange(this.getBot(editor), this.getEot(editor));