fix(core): do not wait for d3zoom to be available to set skipped opts
This commit is contained in:
@@ -784,13 +784,7 @@ export function useActions(
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
if (!state.d3Zoom) {
|
setSkippedOptions()
|
||||||
until(() => state.d3Zoom)
|
|
||||||
.not.toBeNull()
|
|
||||||
.then(setSkippedOptions)
|
|
||||||
} else {
|
|
||||||
setSkippedOptions()
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!state.initialized) {
|
if (!state.initialized) {
|
||||||
state.initialized = true
|
state.initialized = true
|
||||||
|
|||||||
Reference in New Issue
Block a user