aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/index.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-07-10 16:34:09 +0800
committercrupest <crupest@outlook.com>2023-07-10 16:34:09 +0800
commit158b467fff07981b43af81f6520d3dba06baeffa (patch)
treec24d0e32fc09d3e94849812de977b517760cda95 /FrontEnd/src/index.tsx
parent4363f625025edeb19fb480a00e2e3b460c6091a9 (diff)
downloadtimeline-158b467fff07981b43af81f6520d3dba06baeffa.tar.gz
timeline-158b467fff07981b43af81f6520d3dba06baeffa.tar.bz2
timeline-158b467fff07981b43af81f6520d3dba06baeffa.zip
Run react-codemod update-react-imports
Diffstat (limited to 'FrontEnd/src/index.tsx')
-rw-r--r--FrontEnd/src/index.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/FrontEnd/src/index.tsx b/FrontEnd/src/index.tsx
index f14cfa8e..a087fb8a 100644
--- a/FrontEnd/src/index.tsx
+++ b/FrontEnd/src/index.tsx
@@ -2,7 +2,7 @@ import "regenerator-runtime";
import "core-js/modules/es.promise";
import "core-js/modules/es.array.iterator";
-import React from "react";
+import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import "./index.css";
@@ -17,7 +17,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>
);