diff options
Diffstat (limited to 'packages/instant/src/redux/store.ts')
-rw-r--r-- | packages/instant/src/redux/store.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/instant/src/redux/store.ts b/packages/instant/src/redux/store.ts index 505234299..88d964bbc 100644 --- a/packages/instant/src/redux/store.ts +++ b/packages/instant/src/redux/store.ts @@ -9,10 +9,9 @@ export type Store = ReduxStore<State>; export const store = { create: (withState: Partial<State>): Store => { const allInitialState = { - INITIAL_STATE, + ...INITIAL_STATE, ...withState, }; return createStore(reducer, allInitialState, devToolsEnhancer({})); }, }; - |