summaryrefslogtreecommitdiff
path: root/frontend/src/reducers/index.js
blob: 787d5a746fcd9c88338b4e676568deb20689d687 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { combineReducers } from 'redux'
import { auth } from './auth'
import { construction } from './construction-mode'
import { currentPortfolioId, currentProjectId, currentScenarioId, currentTopologyId } from './current-ids'
import { interactionLevel } from './interaction-level'
import { map } from './map'
import { modals } from './modals'
import { objects } from './objects'
import { projectList } from './project-list'

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

export default rootReducer