diff options
Diffstat (limited to 'src/components/StateProvider.js')
| -rw-r--r-- | src/components/StateProvider.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/StateProvider.js b/src/components/StateProvider.js index 30b1cda..e675f89 100644 --- a/src/components/StateProvider.js +++ b/src/components/StateProvider.js @@ -99,6 +99,8 @@ function bindActions(actions, dispatch) { const action = actions[key]; if (typeof action === 'function') { boundActions[key] = bindAction(action, dispatch); + } else if (typeof action === 'object') { + boundActions[key] = bindActions(action, dispatch); } } return boundActions; |
