alpinesmuseum-public/assets/js/redux/reducers/catalog.js

12 lines
215 B
JavaScript
Raw Normal View History

2022-09-23 02:08:37 +00:00
import { UPDATE_CATALOG } from '../actions/catalog';
export default function catalog(state = [], action) {
switch (action.type) {
case UPDATE_CATALOG:
return action.payload;
default:
return state;
}
}