2022-07-06 04:15:11 +00:00
|
|
|
import 'react-app-polyfill/ie11';
|
|
|
|
import React from 'react';
|
|
|
|
import ReactDOM from 'react-dom';
|
|
|
|
import App from './App';
|
|
|
|
//import * as serviceWorker from './serviceWorker';
|
2022-07-25 04:38:48 +00:00
|
|
|
import { HashRouter } from 'react-router-dom';
|
2022-07-06 04:15:11 +00:00
|
|
|
import ScrollToTop from './ScrollToTop';
|
2022-08-01 00:19:20 +00:00
|
|
|
import { CookiesProvider } from "react-cookie";
|
2022-07-06 04:15:11 +00:00
|
|
|
|
|
|
|
ReactDOM.render(
|
2022-07-25 04:38:48 +00:00
|
|
|
<HashRouter>
|
|
|
|
<ScrollToTop>
|
2022-08-01 00:19:20 +00:00
|
|
|
<CookiesProvider>
|
|
|
|
<App></App>
|
|
|
|
</CookiesProvider>
|
2022-07-25 04:38:48 +00:00
|
|
|
</ScrollToTop>
|
|
|
|
</HashRouter>,
|
|
|
|
document.getElementById('root'),
|
2022-07-06 04:15:11 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
// If you want your app to work offline and load faster, you can change
|
|
|
|
// unregister() to register() below. Note this comes with some pitfalls.
|
|
|
|
// Learn more about service workers: http://bit.ly/CRA-PWA
|
2022-07-25 04:38:48 +00:00
|
|
|
//serviceWorker.unregister();
|