Skip to content
This repository was archived by the owner on Jan 27, 2021. It is now read-only.

Commit 56e3492

Browse files
committed
Flattened subspace options into subspaced options interface
1 parent 7c63b27 commit 56e3492

File tree

1 file changed

+1
-1
lines changed
  • packages/redux-dynostore-react-redux-subspace/src

1 file changed

+1
-1
lines changed

packages/redux-dynostore-react-redux-subspace/src/subspaced.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import { defaultStateHandler } from '@redux-dynostore/core'
1111

1212
const subspacedEnhancer = ({
1313
stateHandler,
14-
subspaceOptions,
1514
mapExtraState = () => null,
15+
...subspaceOptions
1616
} = {}) => identifier => store => {
1717
const defaultOptions = store.dynostoreOptions || {}
1818
const { getValue, canMerge, merge } = stateHandler || defaultOptions.stateHandler || defaultStateHandler

0 commit comments

Comments
 (0)