fix(core): do not wait for d3zoom to be available to set skipped opts

This commit is contained in:
braks
2023-11-04 19:25:49 +01:00
committed by Braks
parent ac8dab30c7
commit 07b37830b1
+1 -7
View File
@@ -784,13 +784,7 @@ export function useActions(
}
})
if (!state.d3Zoom) {
until(() => state.d3Zoom)
.not.toBeNull()
.then(setSkippedOptions)
} else {
setSkippedOptions()
}
setSkippedOptions()
if (!state.initialized) {
state.initialized = true