fix: add missing click and doubleclick events to nodes/edges

* ssr bug

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-21 18:19:06 +01:00
parent fd71e1e16e
commit c48a0a9e2a
3 changed files with 27 additions and 10 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ store.dimensions = {
}
// skip waiting for ssr
if (import.meta.env.SSR || typeof window === 'undefined') await until(() => store.isReady)
if (typeof window !== 'undefined') await until(() => store.isReady).toMatch((y) => y)
watch(
[width, height],