Skip to content

Commit e4e3188

Browse files
committed
revert(core): wait for d3zoom before setting opts
1 parent 5e30865 commit e4e3188

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/core/src/store/actions.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,9 @@ export function useActions(
787787
}
788788
})
789789

790-
setSkippedOptions()
790+
until(() => state.d3Zoom)
791+
.not.toBeNull()
792+
.then(setSkippedOptions)
791793

792794
if (!state.initialized) {
793795
state.initialized = true

0 commit comments

Comments
 (0)