Skip to content

Commit

Permalink
v6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
greena13 committed May 12, 2021
1 parent 9794dd9 commit b02605f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "redux-and-the-rest",
"version": "5.1.0",
"version": "6.0.0",
"description": "Declarative, flexible Redux integration with your RESTful API",
"main": "index.js",
"scripts": {
Expand Down
3 changes: 0 additions & 3 deletions src/reducers/buildReducersDictionary.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ import getListStatus from '../public-reducers/getListStatus';
import getListPositions from '../public-reducers/getListPositions';
import getListMetadata from '../public-reducers/getListMetadata';
import isString from '../utils/string/isString';
import without from '../utils/list/without';
import getItemKey from '../action-creators/helpers/getItemKey';
import wrapInObject from '../utils/object/wrapInObject';
import removeItemFromListPositions from '../public-reducers/removeItemFromListPositions';

/**
Expand Down
6 changes: 2 additions & 4 deletions src/resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,12 +324,10 @@ function resources(resourceOptions, actionOptions = {}) {
fetchFunction: resourceDefinition.fetchList,
action: actions.fetchList,
localOnly,
keyFunction: (_params) => {
return getListKey(
keyFunction: (_params) => getListKey(
_params,
mergeWithLatestGlobalConfig({ ...resourceOptions, ...actionCreatorOptions })
);
},
),
},
resourcesState, params, actionCreatorOptions
);
Expand Down

0 comments on commit b02605f

Please sign in to comment.