/** * Copyright (c) 2021 lingdocs.com * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import { BrowserRouter as Router } from "react-router-dom"; import * as serviceWorker from './serviceWorker'; import "bootstrap/dist/css/bootstrap.min.css"; import "@fortawesome/fontawesome-free/css/all.css"; ReactDOM.render( , document.getElementById('root') ); // 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: https://bit.ly/CRA-PWA serviceWorker.unregister(); // serviceWorker.register({ // onUpdate: registration => { // const ready = window.confirm("New version available! Update?"); // if (registration && registration.waiting) { // registration.waiting.postMessage({ type: 'SKIP_WAITING' }); // } // if (ready) { // window.location.reload(); // } // } // });