瀏覽代碼

add optional to table

soumaeda 2 年之前
父節點
當前提交
69db75ad06
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/app/src/stores/modal.tsx

+ 1 - 1
apps/app/src/stores/modal.tsx

@@ -516,7 +516,7 @@ type HandsontableModalStatus = {
 
 type HandsontableModalStatusUtils = {
   open(
-    table: MarkdownTable,
+    table?: MarkdownTable,
     editor?: any,
     autoFormatMarkdownTable?: boolean,
     onSave?: HandsonTableModalSaveHandler