diff options
author | crupest <crupest@outlook.com> | 2023-07-11 01:07:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-11 01:07:57 +0800 |
commit | a702dff4b62090a4e5453a8b9236824288df0c4f (patch) | |
tree | 0deae7f40692345c8e4b1473cdddbd13e0e5586d /FrontEnd/src/index.tsx | |
parent | 4cb87464fea217e1d0969747d6a17e88973982e7 (diff) | |
parent | d46b1aed549938c9f5e3e658b4098e71b5e2acf7 (diff) | |
download | timeline-a702dff4b62090a4e5453a8b9236824288df0c4f.tar.gz timeline-a702dff4b62090a4e5453a8b9236824288df0c4f.tar.bz2 timeline-a702dff4b62090a4e5453a8b9236824288df0c4f.zip |
Merge pull request #1381 from crupest/front-dev
Re-bootstrap front end.
Diffstat (limited to 'FrontEnd/src/index.tsx')
-rw-r--r-- | FrontEnd/src/index.tsx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/FrontEnd/src/index.tsx b/FrontEnd/src/index.tsx index 2affb277..ba61d357 100644 --- a/FrontEnd/src/index.tsx +++ b/FrontEnd/src/index.tsx @@ -1,16 +1,14 @@ import "regenerator-runtime"; import "core-js/modules/es.promise"; import "core-js/modules/es.array.iterator"; -import "pepjs"; -import React from "react"; +import { StrictMode } from "react"; import { createRoot } from "react-dom/client"; import "./index.css"; import "./i18n"; import "./palette"; -import "./service-worker"; import App from "./App"; @@ -18,7 +16,7 @@ const container = document.getElementById("app"); // eslint-disable-next-line @typescript-eslint/no-non-null-assertion const root = createRoot(container!); root.render( - <React.StrictMode> + <StrictMode> <App /> - </React.StrictMode> + </StrictMode> ); |