2021-03-24 03:29:35 +00:00
|
|
|
import React from 'react';
|
|
|
|
import ReactDOM from 'react-dom';
|
|
|
|
import './index.css';
|
|
|
|
import App from './App';
|
2021-03-29 07:56:34 +00:00
|
|
|
import { HashRouter } from 'react-router-dom';
|
|
|
|
import { ToastContainer } from 'react-toastify';
|
|
|
|
import 'react-toastify/dist/ReactToastify.min.css'
|
|
|
|
import { Provider } from 'react-redux';
|
2021-03-24 03:29:35 +00:00
|
|
|
|
2021-03-29 07:56:34 +00:00
|
|
|
import store from "./store";
|
2021-03-26 02:31:00 +00:00
|
|
|
|
2021-03-24 03:29:35 +00:00
|
|
|
ReactDOM.render(
|
2021-03-29 07:56:34 +00:00
|
|
|
<Provider store={store}>
|
|
|
|
<HashRouter>
|
|
|
|
<ToastContainer
|
|
|
|
position="bottom-right"
|
|
|
|
autoClose={5000}
|
|
|
|
hideProgressBar={false}
|
|
|
|
newestOnTop={true}
|
|
|
|
closeOnClick
|
|
|
|
rtl={false}
|
|
|
|
pauseOnFocusLoss={false}
|
|
|
|
draggable
|
|
|
|
pauseOnHover
|
|
|
|
/>
|
|
|
|
<App />
|
|
|
|
</HashRouter>
|
|
|
|
</Provider>,
|
2021-03-24 03:29:35 +00:00
|
|
|
document.getElementById('root')
|
|
|
|
);
|