mirror of
https://github.com/strapi/strapi.git
synced 2025-09-27 17:29:14 +00:00
23 lines
351 B
JavaScript
23 lines
351 B
JavaScript
![]() |
/*
|
||
|
*
|
||
|
* HomePage reducer
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
import { fromJS } from 'immutable';
|
||
|
|
||
|
import { DEFAULT_ACTION } from './constants';
|
||
|
|
||
|
const initialState = fromJS({});
|
||
|
|
||
|
function homePageReducer(state = initialState, action) {
|
||
|
switch (action.type) {
|
||
|
case DEFAULT_ACTION:
|
||
|
return state;
|
||
|
default:
|
||
|
return state;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default homePageReducer;
|