Currently selected navigation item is available under the navigation variable so that the whole application has access to it.
5 lines
154 B
JavaScript
5 lines
154 B
JavaScript
import * as types from '../constants/navigation'
|
|
|
|
export function updateSelection(selection) {
|
|
return { type: types.UPDATE_SELECTION, selection }
|
|
}
|