mirror of
https://github.com/strapi/strapi.git
synced 2025-07-29 03:50:26 +00:00

As a result of taking a look on PR #1967 I realized there is 819 executable files in this repository. It is obvious this is an error.
24 lines
390 B
Handlebars
24 lines
390 B
Handlebars
/*
|
|
*
|
|
* {{ properCase name }} reducer
|
|
*
|
|
*/
|
|
|
|
import { fromJS } from 'immutable';
|
|
import {
|
|
DEFAULT_ACTION,
|
|
} from './constants';
|
|
|
|
const initialState = fromJS({});
|
|
|
|
function {{ camelCase name }}Reducer(state = initialState, action) {
|
|
switch (action.type) {
|
|
case DEFAULT_ACTION:
|
|
return state;
|
|
default:
|
|
return state;
|
|
}
|
|
}
|
|
|
|
export default {{ camelCase name }}Reducer;
|