diff options
Diffstat (limited to 'opendc-web/opendc-web-ui/src/redux/reducers/current-ids.js')
| -rw-r--r-- | opendc-web/opendc-web-ui/src/redux/reducers/current-ids.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/opendc-web/opendc-web-ui/src/redux/reducers/current-ids.js b/opendc-web/opendc-web-ui/src/redux/reducers/current-ids.js deleted file mode 100644 index c0baf567..00000000 --- a/opendc-web/opendc-web-ui/src/redux/reducers/current-ids.js +++ /dev/null @@ -1,10 +0,0 @@ -import { SET_CURRENT_TOPOLOGY } from '../actions/topology/building' - -export function currentTopologyId(state = '-1', action) { - switch (action.type) { - case SET_CURRENT_TOPOLOGY: - return action.topologyId - default: - return state - } -} |
