diff --git a/src/__tests__/with-theme.test.js b/src/__tests__/with-theme.test.js index d316aea..3ab05d2 100644 --- a/src/__tests__/with-theme.test.js +++ b/src/__tests__/with-theme.test.js @@ -1,7 +1,6 @@ /* eslint func-style:0, react/prop-types:0 */ -import PropTypes from 'prop-types'; - -import React from 'react'; +import React from 'react' +import PropTypes from 'prop-types' import {View} from 'react-native' import renderer from 'react-test-renderer' diff --git a/src/create-glamorous.js b/src/create-glamorous.js index 73c2338..eadacf5 100644 --- a/src/create-glamorous.js +++ b/src/create-glamorous.js @@ -1,8 +1,8 @@ -import PropTypes from './react-compat'; -import React from 'react'; +import React from 'react' import {StyleSheet} from 'react-native' import {CHANNEL} from './constants' import getStyles from './get-styles' +import PropTypes from './react-compat' function prepareStyles(styles) { return styles.filter(style => { diff --git a/src/theme-provider.js b/src/theme-provider.js index 1d7dec3..cfff00d 100644 --- a/src/theme-provider.js +++ b/src/theme-provider.js @@ -1,7 +1,7 @@ -import PropTypes from './react-compat'; -import React from 'react'; +import React from 'react' import brcast from 'brcast' import {CHANNEL} from './constants' +import PropTypes from './react-compat' export default class ThemeProvider extends React.Component { static childContextTypes = { diff --git a/src/with-theme.js b/src/with-theme.js index 2387f24..7b9f91e 100644 --- a/src/with-theme.js +++ b/src/with-theme.js @@ -1,6 +1,6 @@ -import PropTypes from './react-compat'; -import React from 'react'; +import React from 'react' import {CHANNEL} from './constants' +import PropTypes from './react-compat' function generateWarningMessage(componentName) { // eslint-disable-next-line max-len