From 8018bbc67b10b7b75589b98ed92c6dda1f6163f4 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Thu, 28 Jun 2018 14:33:04 +0200 Subject: Extract shiftWeek from WeekSelector --- src/client/react/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/client/react/index.js') diff --git a/src/client/react/index.js b/src/client/react/index.js index 2e35594..f01a361 100644 --- a/src/client/react/index.js +++ b/src/client/react/index.js @@ -47,7 +47,10 @@ const store = createStore( // Redux devtools extension // https://github.com/zalmoxisus/redux-devtools-extension compose( - applyMiddleware(thunk.withExtraArgument(makeGetHistory(history))), + applyMiddleware(thunk.withExtraArgument({ + getHistory: makeGetHistory(history), + moment, + })), ), ); -- cgit v1.1