Fix prettier integration, format (#31)

* Fix prettier integration, format

* Reformat again
This commit is contained in:
Tom Moor
2017-04-27 21:48:13 -07:00
committed by GitHub
parent 51fade7439
commit 2095b3a874
74 changed files with 823 additions and 808 deletions

View File

@ -1,6 +1,6 @@
import React from 'react';
const injectOffline = (WrappedComponent) => {
const injectOffline = WrappedComponent => {
return class OfflineWrapper extends React.Component {
static contextTypes = {
offline: React.PropTypes.bool,
@ -11,7 +11,7 @@ const injectOffline = (WrappedComponent) => {
offline: this.context.offline,
};
return (<WrappedComponent { ...this.props } { ...newProps } />);
return <WrappedComponent {...this.props} {...newProps} />;
}
};
};