summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/redux/reducers/index.js
blob: b143d417d2c062be17d0a6dfbc6da23e0905dadb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { combineReducers } from 'redux'
import { construction } from './construction-mode'
import { currentPortfolioId, currentProjectId, currentScenarioId, currentTopologyId } from './current-ids'
import { interactionLevel } from './interaction-level'
import { map } from './map'
import { objects } from './objects'
import { projects } from './projects'

const rootReducer = combineReducers({
    objects,
    projects,
    construction,
    map,
    currentProjectId,
    currentTopologyId,
    currentPortfolioId,
    currentScenarioId,
    interactionLevel,
})

export default rootReducer