From 158b467fff07981b43af81f6520d3dba06baeffa Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Mon, 10 Jul 2023 16:34:09 +0800
Subject: Run react-codemod update-react-imports

---
 FrontEnd/src/index.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'FrontEnd/src/index.tsx')

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>
 );
-- 
cgit v1.2.3

