chore(core): cleanup
This commit is contained in:
@@ -54,7 +54,7 @@ export function useViewport(state: State, getters: ComputedGetters) {
|
|||||||
|
|
||||||
const isReady = ref(false)
|
const isReady = ref(false)
|
||||||
|
|
||||||
until(() => !!d3Zoom && !!d3Selection && !!dimensions.width && !!dimensions.height)
|
until(() => !!(d3Zoom && d3Selection && dimensions.width > 0 && dimensions.height > 0))
|
||||||
.toBe(true)
|
.toBe(true)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
isReady.value = true
|
isReady.value = true
|
||||||
|
|||||||
Reference in New Issue
Block a user