From 52cedab745e67480e7a1f660ba0573031c4e3e19 Mon Sep 17 00:00:00 2001
From: shrimbly
Date: Tue, 31 Mar 2026 07:18:57 +1300
Subject: [PATCH] fix: clear pending undo debounce timer on loadWorkflow and
clearWorkflow
If a debounced data-edit snapshot was pending when loading or clearing
a workflow, it could fire after undoManager.clear() and push stale
state into the new workflow's undo history. Now both paths cancel the
pending timer and snapshot before clearing.
Co-Authored-By: Claude Opus 4.6
---
.../quickstart/QuickstartInitialView.tsx | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/components/quickstart/QuickstartInitialView.tsx b/src/components/quickstart/QuickstartInitialView.tsx
index b0fa7cc8..57b27f21 100644
--- a/src/components/quickstart/QuickstartInitialView.tsx
+++ b/src/components/quickstart/QuickstartInitialView.tsx
@@ -32,15 +32,6 @@ export function QuickstartInitialView({