fix(store): zoom related state to update when flow is ready
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -189,7 +189,7 @@ const { width, height } = useElementBounding(zoomPaneEl)
|
||||
|
||||
// skip waiting for ssr
|
||||
const window = useWindow()
|
||||
if ('screen' in window) await until(() => store.isReady).toMatch((y) => y)
|
||||
if ('screen' in window) await until(() => store.isReady).toBe(true)
|
||||
|
||||
watch(
|
||||
[width, height],
|
||||
|
||||
Reference in New Issue
Block a user