Skip to content

Commit 15fa585

Browse files
committed
fix: building blocks are included on devStore
1 parent 5a44e7f commit 15fa585

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/utils/internals/compose-with-devtools.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,7 @@ const createDevStore = (): StoreWithDevMethods => {
214214
},
215215
};
216216

217-
return {
218-
...store,
219-
...devStore,
220-
};
217+
return Object.assign(store, devStore);
221218
};
222219

223220
const isDevStore = (store: Store): store is StoreWithDevMethods => {

0 commit comments

Comments
 (0)