From d40cd8cf8e18d9bff3d819a373685043eb3063c1 Mon Sep 17 00:00:00 2001 From: Guillaume Tauzin Date: Mon, 17 Oct 2022 17:36:00 +0200 Subject: [PATCH] Fix SetHistory in SmartComponent --- src/Events/EditorEvents.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Events/EditorEvents.ts b/src/Events/EditorEvents.ts index aa90c79..c572bda 100644 --- a/src/Events/EditorEvents.ts +++ b/src/Events/EditorEvents.ts @@ -54,7 +54,6 @@ function SetHistory(root: Element | Document, eventInitDict?: CustomEventInit): void { const history: IHistoryState[] = eventInitDict?.detail.history; const historyCurrentStep: number | undefined = eventInitDict?.detail.historyCurrentStep; - ReviveHistoryAction(history); setNewHistory(history, historyCurrentStep); const customEvent = new CustomEvent('setHistory', { detail: editorState }); root.dispatchEvent(customEvent);