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

Revert "134432 remove null to pass lint"

This reverts commit ef1c8430fde8a41abba10aafb202d1d796a91000.
soumaeda 2 лет назад
Родитель
Сommit
140d61d6ba
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;
+      return null;
     }
     }
 
 
     const strFromBotToEot = editor.state.sliceDoc(this.getBot(editor), this.getEot(editor));
     const strFromBotToEot = editor.state.sliceDoc(this.getBot(editor), this.getEot(editor));