Bläddra i källkod

134432 remove null to pass lint

soumaeda 2 år sedan
förälder
incheckning
ef1c8430fd
1 ändrade filer med 1 tillägg och 1 borttagningar
  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));