Currently selected navigation item is available under the navigation variable so that the whole application has access to it.
10 lines
220 B
JavaScript
10 lines
220 B
JavaScript
import { combineReducers } from 'redux'
|
|
import contextMenu from './contextMenu'
|
|
import navigation from './navigation'
|
|
|
|
const rootReducer = combineReducers({
|
|
contextMenu,
|
|
navigation
|
|
})
|
|
|
|
export default rootReducer
|