diff options
author | crupest <crupest@outlook.com> | 2022-05-04 11:35:47 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-05-04 11:35:47 +0800 |
commit | a90f1a5041cf4a622f41f3b2680052e3a4d5ba11 (patch) | |
tree | f4d656cea49370d02f99dd870dc89ff02cfa3fed /FrontEnd/src/index.tsx | |
parent | 1caaa504cda68e08d52127949ea7f5e2eb2f304e (diff) | |
download | timeline-a90f1a5041cf4a622f41f3b2680052e3a4d5ba11.tar.gz timeline-a90f1a5041cf4a622f41f3b2680052e3a4d5ba11.tar.bz2 timeline-a90f1a5041cf4a622f41f3b2680052e3a4d5ba11.zip |
...
Diffstat (limited to 'FrontEnd/src/index.tsx')
-rw-r--r-- | FrontEnd/src/index.tsx | 6 |
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> +); |