mirror of
https://github.com/strapi/strapi.git
synced 2025-12-17 02:03:18 +00:00
21 lines
296 B
JavaScript
21 lines
296 B
JavaScript
|
|
import {
|
||
|
|
fromJS,
|
||
|
|
// List,
|
||
|
|
} from 'immutable';
|
||
|
|
|
||
|
|
const initialState = fromJS({
|
||
|
|
isLoading: true,
|
||
|
|
initialData: {},
|
||
|
|
modifiedData: {},
|
||
|
|
});
|
||
|
|
|
||
|
|
const reducer = (state, action) => {
|
||
|
|
switch (action.type) {
|
||
|
|
default:
|
||
|
|
return state;
|
||
|
|
}
|
||
|
|
};
|
||
|
|
|
||
|
|
export default reducer;
|
||
|
|
export { initialState };
|