1
0
mirror of https://github.com/alice-lg/alice-lg.git synced 2024-05-11 05:55:03 +00:00
2018-06-26 16:59:01 +02:00

18 lines
287 B
JavaScript

/*
* Content reducer
*/
import {CONTENT_UPDATE} from './actions'
const initialState = {};
export default function reducer(state = initialState, action) {
switch(action.type) {
case CONTENT_UPDATE:
return Object.assign({}, state, action.payload);
}
return state;
}