mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-24 11:59:09 -04:00
feat added custom pages
This commit is contained in:
16
.devcontainer/laradock/react/src/store/Feature1/FeatureReducer.js
vendored
Normal file
16
.devcontainer/laradock/react/src/store/Feature1/FeatureReducer.js
vendored
Normal file
@@ -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