Skip to content

Self-hosted homelab infrastructure visualizer — interactive network diagram with live status monitoring

chore(liveview): include setTheme/setCustomStyle in effect deps

Pouzorfdf2b1f2beb1
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