diff --git a/frontend/src/components/LiveView.tsx b/frontend/src/components/LiveView.tsx index 87bff74..b53d3ab 100644 --- a/frontend/src/components/LiveView.tsx +++ b/frontend/src/components/LiveView.tsx @@ -92,7 +92,7 @@ function LiveViewCanvas() { const detail: string = err.response.data?.detail ?? '' setViewState(detail === 'Live view is disabled' ? 'disabled' : 'invalid-key') }) - }, [loadCanvas]) + }, [loadCanvas, setTheme, setCustomStyle]) useEffect(() => { if (!fitViewPending || nodes.length === 0) return