Skip to content

Commit

Permalink
Merge pull request react-bootstrap#652 from AlexKVal/fixWarn
Browse files Browse the repository at this point in the history
Mute `object-shorthand` with ES7 warning
  • Loading branch information
AlexKVal committed May 13, 2015
2 parents fd0dd2a + bc825c9 commit ed29cf8
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 ed29cf8

Please sign in to comment.