Skip to content

🎥 Make videos programmatically with React

Update TimingEditor.tsx

Jonny Burger1aba20575847
diff --git a/packages/convert/app/components/timing-editor/TimingEditor.tsx b/packages/convert/app/components/timing-editor/TimingEditor.tsx
index 9514a10f27..98bcd17290 100644
--- a/packages/convert/app/components/timing-editor/TimingEditor.tsx
+++ b/packages/convert/app/components/timing-editor/TimingEditor.tsx
@@ -47,7 +47,7 @@ export function TimingEditor() {
// Load initial state from URL hash (client-side only for SSR)
useEffect(() => {
- const hash = window.location.hash;
+ const {hash} = window.location;
if (hash.startsWith('#config=')) {
const encoded = hash.slice('#config='.length);
const savedState = decodeState(encoded);