From 71e21e50d9569a592b5fdb43a170cfd59a9e7dba Mon Sep 17 00:00:00 2001 From: Braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Thu, 31 Mar 2022 12:53:39 +0200 Subject: [PATCH] fix(flow): no transform of id to ref --- package/src/composables/useVueFlow.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/src/composables/useVueFlow.ts b/package/src/composables/useVueFlow.ts index 00c84b46..8f924b04 100644 --- a/package/src/composables/useVueFlow.ts +++ b/package/src/composables/useVueFlow.ts @@ -31,10 +31,10 @@ export class Storage { public create(id: string, options?: Partial) { const store = useStore(options) const flow: UseVueFlow = { - id, - store, ...(store as any), ...toRefs(store.state), + id, + store, } this.set(id, flow) return flow