From 49d8528f71e88ff838c3ceef48176774d117c73a Mon Sep 17 00:00:00 2001 From: vinogradov Date: Fri, 20 Oct 2017 12:31:05 +0400 Subject: [PATCH] (chore) improve imports --- src/examples/redux/one-file/index.js | 4 ++-- src/examples/redux/separate-files/counter.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/examples/redux/one-file/index.js b/src/examples/redux/one-file/index.js index 663fe03..d3030e3 100644 --- a/src/examples/redux/one-file/index.js +++ b/src/examples/redux/one-file/index.js @@ -1,5 +1,5 @@ -import * as React from 'react'; -import * as ReactDOM from 'react-dom'; +import React from 'react'; +import ReactDOM from 'react-dom'; import {Provider, connect} from 'react-redux'; import PropTypes from 'prop-types'; import {createStore, applyMiddleware, combineReducers} from 'redux'; diff --git a/src/examples/redux/separate-files/counter.js b/src/examples/redux/separate-files/counter.js index 0e5c399..b2c2ea1 100644 --- a/src/examples/redux/separate-files/counter.js +++ b/src/examples/redux/separate-files/counter.js @@ -1,6 +1,6 @@ import React from 'react'; -import {connect} from 'react-redux'; import PropTypes from 'prop-types'; +import {connect} from 'react-redux'; import {mapStateToProps} from './map-state'; import {incrementAction, decrementAction, decrementAsyncAction} from './actions';