mirror of
https://github.com/strapi/strapi.git
synced 2025-08-15 12:18:38 +00:00
24 lines
341 B
JavaScript
24 lines
341 B
JavaScript
![]() |
/*
|
||
|
*
|
||
|
* List reducer
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
import { fromJS } from 'immutable';
|
||
|
import {
|
||
|
DEFAULT_ACTION,
|
||
|
} from './constants';
|
||
|
|
||
|
const initialState = fromJS({});
|
||
|
|
||
|
function listReducer(state = initialState, action) {
|
||
|
switch (action.type) {
|
||
|
case DEFAULT_ACTION:
|
||
|
return state;
|
||
|
default:
|
||
|
return state;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default listReducer;
|