diff --git a/app/src/history/history.ts b/app/src/history/history.ts index 0eb5bbca8..1a6980ba8 100644 --- a/app/src/history/history.ts +++ b/app/src/history/history.ts @@ -318,7 +318,6 @@ export const openHistory = () => { width: "80vw", height: "80vh", destroyCallback() { - historyEditor.destroy(); historyEditor = undefined; } }); @@ -624,7 +623,6 @@ const bindEvent = (element: Element, dialog?: Dialog) => { dialog.destroy(); } else { closeModel(); - historyEditor.destroy(); historyEditor = undefined } break;