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

This commit is contained in:
Pouzor
2026-05-16 21:52:52 +02:00
parent 5630e7d202
commit fdf2b1f2be
+1 -1
View File
@@ -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