summaryrefslogtreecommitdiff
path: root/frontend/src/redux/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/redux/app.js')
-rw-r--r--frontend/src/redux/app.js12
1 files changed, 1 insertions, 11 deletions
diff --git a/frontend/src/redux/app.js b/frontend/src/redux/app.js
index 172dc960..251b12a2 100644
--- a/frontend/src/redux/app.js
+++ b/frontend/src/redux/app.js
@@ -1,15 +1,5 @@
export const makeSelectLocationState = () => {
- let prevRoutingState;
- let prevRoutingStateJS;
-
return (state) => {
- const routingState = state.get('routing')
-
- if (!routingState.equals(prevRoutingState)) {
- prevRoutingState = routingState
- prevRoutingStateJS = routingState.toJS()
- }
-
- return prevRoutingStateJS;
+ return state.routing
}
}
bgstack15