verdnatura-chat/app/reducers/navigator.js

13 lines
259 B
JavaScript
Raw Normal View History

2017-08-21 00:11:46 +00:00
import * as types from '../actions/actionsTypes';
const initialState = {};
export default function navigations(state = initialState, action) {
switch (action.type) {
case types.NAVIGATION.SET:
2017-11-13 12:58:35 +00:00
return action.navigator;
2017-08-21 00:11:46 +00:00
default:
return state;
}
}