mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-23 03:19:10 -04:00
17 lines
319 B
JavaScript
Vendored
17 lines
319 B
JavaScript
Vendored
import * as types from "./FeatureTypes";
|
|
|
|
const INITIAL_STATE = {};
|
|
|
|
// Replace with you own reducer
|
|
export default (state = INITIAL_STATE, action) => {
|
|
switch (action.type) {
|
|
case types.GET_DATA_RECEIVE:
|
|
return {
|
|
...state,
|
|
...action.payload
|
|
};
|
|
default:
|
|
return state;
|
|
}
|
|
};
|