mirror of https://gitlab.com/ecentrics/concordia
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.
26 lines
579 B
26 lines
579 B
4 years ago
|
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';
|
||
|
|
||
|
// 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;
|