Всем привет, такой index.js:
import React from 'react';
import ReactDOM from 'react-dom';
import registerServiceWorker from './registerServiceWorker';
import promise from "react-promise"
import {Provider} from 'react-redux';
import {createStore, applyMiddleware} from "redux"
import reducers from "./reducers"
import App from './App';
const createStoreWithMiddleware = applyMiddleware(promise)(createStore);
ReactDOM.render(
<Provider store={createStoreWithMiddleware(reducers)}>
<div>
<App/>
</div>
</Provider>
,document.getElementById('root')
);
registerServiceWorker();
При компиляции дропает данную ошибку. Почему? Если меняю на текст, то ошибка остается