chore(core): cleanup

This commit is contained in:
braks
2024-01-29 21:56:44 +01:00
committed by Braks
parent ce229e547f
commit e427e21c28
+1 -1
View File
@@ -54,7 +54,7 @@ export function useViewport(state: State, getters: ComputedGetters) {
const isReady = ref(false)
until(() => !!d3Zoom && !!d3Selection && !!dimensions.width && !!dimensions.height)
until(() => !!(d3Zoom && d3Selection && dimensions.width > 0 && dimensions.height > 0))
.toBe(true)
.then(() => {
isReady.value = true