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
676 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 InitializationScreen from './components/InitializationScreen';
4 years ago
import Routes from './Routes';
4 years ago
import './intl/index';
import 'semantic-ui-css/semantic.min.css';
4 years ago
const App = ({ store }) => (
<Provider store={store}>
<InitializationScreen>
4 years ago
<Router>
<Routes />
</Router>
</InitializationScreen>
4 years ago
</Provider>
);
App.propTypes = {
// eslint-disable-next-line react/forbid-prop-types
4 years ago
store: PropTypes.object.isRequired,
};
export default App;