blob: 5cfe7d8624f156f0b358c058a74edabad9a55944 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import { LISTA_CAMION } from 'ba-actions/actionTypes';
const initState = {
camiones : []
}
const camion = (state = initState, action) => {
switch (action.type) {
case LISTA_CAMION:
return { ...state, camiones: action.payload }
default :
return state
}
}
export default camion;
|