You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import React from 'react';
|
|
|
|
import { Provider } from 'react-redux';
|
|
|
|
import { BrowserRouter as Router } from 'react-router-dom';
|
|
|
|
import PropTypes from 'prop-types';
|
|
|
|
import LoadingContainer from './components/LoadingContainer';
|
|
|
|
import Routes from './Routes';
|
|
|
|
import './intl/index';
|
|
|
|
|
|
|
|
// CSS
|
|
|
|
import './assets/css/app.css';
|
|
|
|
|
|
|
|
const App = ({ store }) => (
|
|
|
|
<Provider store={store}>
|
|
|
|
<LoadingContainer>
|
|
|
|
<Router>
|
|
|
|
<Routes />
|
|
|
|
</Router>
|
|
|
|
</LoadingContainer>
|
|
|
|
</Provider>
|
|
|
|
);
|
|
|
|
|
|
|
|
App.propTypes = {
|
|
|
|
store: PropTypes.object.isRequired,
|
|
|
|
};
|
|
|
|
|
|
|
|
export default App;
|