fix: add setCustomStyle to useEffect dependency array

This commit is contained in:
Pouzor
2026-04-24 02:17:03 +02:00
committed by Remy
parent babbcb1dc5
commit 31b61904ac
+1 -1
View File
@@ -119,7 +119,7 @@ export default function App() {
}
})
.catch(() => loadCanvas(demoNodes, demoEdges))
}, [isAuthenticated, loadCanvas, setTheme])
}, [isAuthenticated, loadCanvas, setTheme, setCustomStyle])
// Keep refs for store actions so keydown handler is always up-to-date without re-registering
const undoRef = useRef(undo)