diff options
author | crupest <crupest@outlook.com> | 2021-01-03 19:38:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-03 19:38:05 +0800 |
commit | 418d631528fdb581a384068719e9af5dbaa66740 (patch) | |
tree | 42e2c0396a16cb5fbaaae665a238a8a031bef7f0 /FrontEnd/src/app/views/admin/Admin.tsx | |
parent | 4b3ae3edd9e8aceac5ff26ef137d2a8d686fe305 (diff) | |
parent | 8af803cb0da57af1355ad28cd056cb5dcf6d6915 (diff) | |
download | timeline-418d631528fdb581a384068719e9af5dbaa66740.tar.gz timeline-418d631528fdb581a384068719e9af5dbaa66740.tar.bz2 timeline-418d631528fdb581a384068719e9af5dbaa66740.zip |
Merge pull request #197 from crupest/front-dev
Front: Highlight and bookmark timeline and new home page.
Diffstat (limited to 'FrontEnd/src/app/views/admin/Admin.tsx')
-rw-r--r-- | FrontEnd/src/app/views/admin/Admin.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FrontEnd/src/app/views/admin/Admin.tsx b/FrontEnd/src/app/views/admin/Admin.tsx index 446cd36d..0b6d1f05 100644 --- a/FrontEnd/src/app/views/admin/Admin.tsx +++ b/FrontEnd/src/app/views/admin/Admin.tsx @@ -7,7 +7,7 @@ import { AuthUser } from "@/services/user"; import AdminNav from "./AdminNav"; import UserAdmin from "./UserAdmin"; -import HighlightTimelineAdmin from "./HighlightTimelineAdmin"; +import MoreAdmin from "./MoreAdmin"; interface AdminProps { user: AuthUser; @@ -32,8 +32,8 @@ const Admin: React.FC<AdminProps> = ({ user }) => { {(() => { if (name === "users") { return <UserAdmin user={user} />; - } else if (name === "highlighttimelines") { - return <HighlightTimelineAdmin user={user} />; + } else if (name === "more") { + return <MoreAdmin user={user} />; } })()} </Container> |