From bc825c9aff5fd1ad42ac80d510b85bdc4fb646be Mon Sep 17 00:00:00 2001 From: AlexKVal Date: Wed, 13 May 2015 13:24:20 +0300 Subject: [PATCH] Mute `object-shorthand` with ES7 warning --- src/utils/createContextWrapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/createContextWrapper.js b/src/utils/createContextWrapper.js index 6a5b38082f..7fb7baa8bd 100644 --- a/src/utils/createContextWrapper.js +++ b/src/utils/createContextWrapper.js @@ -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);