revert(core): wait for d3zoom before setting opts

This commit is contained in:
braks
2023-11-08 15:12:28 +01:00
committed by Braks
parent 5e308652a3
commit e4e3188b76
+3 -1
View File
@@ -787,7 +787,9 @@ export function useActions(
}
})
setSkippedOptions()
until(() => state.d3Zoom)
.not.toBeNull()
.then(setSkippedOptions)
if (!state.initialized) {
state.initialized = true