updated folder structure
This commit is contained in:
@@ -2,11 +2,12 @@ import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import { Provider } from 'react-redux';
|
||||
import { createStore, applyMiddleware } from 'redux';
|
||||
import reducers from './store/reducers';
|
||||
import promise from 'redux-promise';
|
||||
import '@babel/polyfill';
|
||||
|
||||
import App from './containers/App';
|
||||
import reducers from './store/reducers';
|
||||
import AppRouter from './AppRouter';
|
||||
|
||||
// Import Swiper styles
|
||||
import 'swiper/css';
|
||||
import 'swiper/css/navigation';
|
||||
@@ -18,7 +19,7 @@ const createStoreWithMiddleware = applyMiddleware(promise)(createStore);
|
||||
|
||||
const app = (
|
||||
<Provider store={createStoreWithMiddleware(reducers)}>
|
||||
<App />
|
||||
<AppRouter />
|
||||
</Provider>
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user