Skip to content

Commit

Permalink
Mute object-shorthand with ES7 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKVal committed May 13, 2015
1 parent fd0dd2a commit bc825c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/createContextWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function createContextWrapper(Trigger, propName) {

render() {
// Strip injected props from below.
const {wrapped, ...props} = this.props;
const {wrapped, ...props} = this.props; // eslint-disable-line object-shorthand
delete props.context;

return React.cloneElement(wrapped, props);
Expand Down

0 comments on commit bc825c9

Please sign in to comment.