14 lines
263 B
JavaScript
14 lines
263 B
JavaScript
|
import * as types from '../actions/actionsTypes';
|
||
|
|
||
|
const initialState = {};
|
||
|
|
||
|
export default function navigations(state = initialState, action) {
|
||
|
switch (action.type) {
|
||
|
case types.NAVIGATION.SET:
|
||
|
return action.navigator
|
||
|
;
|
||
|
default:
|
||
|
return state;
|
||
|
}
|
||
|
}
|