aboutsummaryrefslogtreecommitdiff
path: root/src/client/react/components/container/RoomFinder.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/react/components/container/RoomFinder.js')
-rw-r--r--src/client/react/components/container/RoomFinder.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/react/components/container/RoomFinder.js b/src/client/react/components/container/RoomFinder.js
index c8c506b..8bcccc4 100644
--- a/src/client/react/components/container/RoomFinder.js
+++ b/src/client/react/components/container/RoomFinder.js
@@ -105,8 +105,8 @@ const mapStateToProps = (state, { match }) => ({
isVisible: state.isRoomFinderVisible,
});
-const mapDispatchToProps = (dispatch, { location, history }) => ({
- setUser: makeSetUser(location, history),
+const mapDispatchToProps = (dispatch, { history }) => ({
+ setUser: makeSetUser(history),
onHide: () => dispatch({ type: 'ROOM_FINDER/HIDE' }),
});