mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-05-17 13:18:25 -04:00
feat added custom pages
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user