diff options
author | crupest <crupest@outlook.com> | 2023-07-10 16:34:09 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-07-10 16:34:09 +0800 |
commit | 158b467fff07981b43af81f6520d3dba06baeffa (patch) | |
tree | c24d0e32fc09d3e94849812de977b517760cda95 /FrontEnd/src/views/admin/index.tsx | |
parent | 4363f625025edeb19fb480a00e2e3b460c6091a9 (diff) | |
download | timeline-158b467fff07981b43af81f6520d3dba06baeffa.tar.gz timeline-158b467fff07981b43af81f6520d3dba06baeffa.tar.bz2 timeline-158b467fff07981b43af81f6520d3dba06baeffa.zip |
Run react-codemod update-react-imports
Diffstat (limited to 'FrontEnd/src/views/admin/index.tsx')
-rw-r--r-- | FrontEnd/src/views/admin/index.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FrontEnd/src/views/admin/index.tsx b/FrontEnd/src/views/admin/index.tsx index 49da6586..0467711d 100644 --- a/FrontEnd/src/views/admin/index.tsx +++ b/FrontEnd/src/views/admin/index.tsx @@ -1,6 +1,6 @@ -import * as React from "react"; +import { lazy } from "react"; -const Admin = React.lazy( +const Admin = lazy( () => import(/* webpackChunkName: "admin" */ "./Admin") ); |