Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
chore(configure): replace lodash.omit by spreading
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroenv committed Mar 26, 2019
1 parent e5759b9 commit 556753d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default createConnector({
},
transitionState(props, prevSearchState, nextSearchState) {
const id = getId();
const items = omit(props, 'children', 'contextValue', 'indexContextValue');
const { children, contextValue, indexContextValue, ...items } = props;
const nonPresentKeys = this._props
? difference(Object.keys(this._props), Object.keys(props))
: [];
Expand Down

0 comments on commit 556753d

Please sign in to comment.