From 31b61904ac147803ec27755f8ce4879a2d2784e5 Mon Sep 17 00:00:00 2001 From: Pouzor Date: Fri, 24 Apr 2026 02:17:03 +0200 Subject: [PATCH] fix: add setCustomStyle to useEffect dependency array --- frontend/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index fe8a255..477f2e4 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -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)