|
|
@@ -189,7 +189,7 @@ export const PageEditor = React.memo((props: Props): JSX.Element => {
|
|
|
const openTableModalHandler = useCallback(() => {
|
|
|
const editor = codeMirrorEditor?.view;
|
|
|
const markdownTable = mtu.getMarkdownTable(editor);
|
|
|
- if (markdownTable == null || openHandsontableModal == null) {
|
|
|
+ if (openHandsontableModal == null) {
|
|
|
return;
|
|
|
}
|
|
|
openHandsontableModal(markdownTable, editor);
|