aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/index.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-05-04 11:35:47 +0800
committercrupest <crupest@outlook.com>2022-05-04 11:35:47 +0800
commita90f1a5041cf4a622f41f3b2680052e3a4d5ba11 (patch)
treef4d656cea49370d02f99dd870dc89ff02cfa3fed /FrontEnd/src/index.tsx
parent1caaa504cda68e08d52127949ea7f5e2eb2f304e (diff)
downloadtimeline-a90f1a5041cf4a622f41f3b2680052e3a4d5ba11.tar.gz
timeline-a90f1a5041cf4a622f41f3b2680052e3a4d5ba11.tar.bz2
timeline-a90f1a5041cf4a622f41f3b2680052e3a4d5ba11.zip
...
Diffstat (limited to 'FrontEnd/src/index.tsx')
-rw-r--r--FrontEnd/src/index.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/FrontEnd/src/index.tsx b/FrontEnd/src/index.tsx
index ea940004..2affb277 100644
--- a/FrontEnd/src/index.tsx
+++ b/FrontEnd/src/index.tsx
@@ -17,4 +17,8 @@ import App from "./App";
const container = document.getElementById("app");
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const root = createRoot(container!);
-root.render(<App />);
+root.render(
+ <React.StrictMode>
+ <App />
+ </React.StrictMode>
+);