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) {
|
||||
until(() => state.d3Zoom)
|
||||
.not.toBeNull()
|
||||
.then(setSkippedOptions)
|
||||
} else {
|
||||
setSkippedOptions()
|
||||
}
|
||||
setSkippedOptions()
|
||||
|
||||
if (!state.initialized) {
|
||||
state.initialized = true
|
||||
|
||||
Reference in New Issue
Block a user