From 6a1571e6e30a0efffb89113626b9c701c13bfe43 Mon Sep 17 00:00:00 2001 From: Braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Sat, 20 Nov 2021 00:40:42 +0100 Subject: [PATCH] fix: Flow not properly pre-loading state * pass key to initFlow to possibly find a pre-existing state Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com> --- examples/Basic/Basic.vue | 2 +- src/composables/useStore.ts | 7 ++++--- src/composables/useVueFlow.ts | 2 +- src/container/VueFlow/VueFlow.vue | 25 +++++++++++++------------ 4 files changed, 19 insertions(+), 17 deletions(-) diff --git a/examples/Basic/Basic.vue b/examples/Basic/Basic.vue index ae9a8af7..95134077 100644 --- a/examples/Basic/Basic.vue +++ b/examples/Basic/Basic.vue @@ -55,7 +55,6 @@ const toggleclasss = () => { return el }) } -useVueFlow()