diff --git a/embark-ui/src/actions/index.js b/embark-ui/src/actions/index.js index 685cee9d..9bab56fc 100644 --- a/embark-ui/src/actions/index.js +++ b/embark-ui/src/actions/index.js @@ -1,13 +1,12 @@ export const REQUEST = 'REQUEST'; export const SUCCESS = 'SUCCESS'; export const FAILURE = 'FAILURE'; -export const ENTITY = 'ENTITY'; function createRequestTypes(base) { return [REQUEST, SUCCESS, FAILURE].reduce((acc, type) => { acc[type] = `${base}_${type}`; return acc; - }, { id: 0 }); + }, {}); } function action(type, payload = {}) {