diff options
Diffstat (limited to 'src/client/react/components/container/WeekSelector.js')
-rw-r--r-- | src/client/react/components/container/WeekSelector.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/react/components/container/WeekSelector.js b/src/client/react/components/container/WeekSelector.js index f927117..bc428cc 100644 --- a/src/client/react/components/container/WeekSelector.js +++ b/src/client/react/components/container/WeekSelector.js @@ -85,8 +85,8 @@ const mapStateToProps = (state, { location }) => ({ week: weekFromLocation(location), }); -const mapDispatchToProps = (dispatch, { location, history }) => ({ - setWeek: makeSetWeek(location, history), +const mapDispatchToProps = (dispatch, { history }) => ({ + setWeek: makeSetWeek(history), }); export default withRouter(connect(mapStateToProps, mapDispatchToProps)(WeekSelector)); |