From 6dd5b1859fd9a11ab7d85de07a3843bad128262d Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 15 Apr 2026 00:24:57 +0200 Subject: [PATCH] Convert sequence selection logic into an IIFE --- src/app/App.tsx | 76 ++++++++++++++++++++++++++----------------------- 1 file changed, 40 insertions(+), 36 deletions(-) diff --git a/src/app/App.tsx b/src/app/App.tsx index 25b035ce..e38fc0dc 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -8654,42 +8654,46 @@ export function App({ store, initialStatusMessage }: AppProps) { ) : link.action.type === "runSequence" ? ( -
- -
- -
-
- Run Sequence links can only reference sequences that contain - at least one impulse clip. -
-
+ (() => { + const sequenceId = link.action.sequenceId; + + return ( +
+ +
+ +
+
+ Run Sequence links can only reference sequences that + contain at least one impulse clip. +
+
+ ); + })() ) : link.action.type === "stopAnimation" ? (