aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views/admin/Admin.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-06-26 00:00:54 +0800
committercrupest <crupest@outlook.com>2021-06-26 00:00:54 +0800
commitfa540c046d126449f77e46edd379bbc84e02d05d (patch)
tree1245f3fb8e9f505809da75a6ffbd2a62b06ebaed /FrontEnd/src/views/admin/Admin.tsx
parent8ee00da87e2fbfefeefecb01c68a2d297bdfb34b (diff)
downloadtimeline-fa540c046d126449f77e46edd379bbc84e02d05d.tar.gz
timeline-fa540c046d126449f77e46edd379bbc84e02d05d.tar.bz2
timeline-fa540c046d126449f77e46edd379bbc84e02d05d.zip
...
Diffstat (limited to 'FrontEnd/src/views/admin/Admin.tsx')
-rw-r--r--FrontEnd/src/views/admin/Admin.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/FrontEnd/src/views/admin/Admin.tsx b/FrontEnd/src/views/admin/Admin.tsx
index 34e7e2f6..9393a61f 100644
--- a/FrontEnd/src/views/admin/Admin.tsx
+++ b/FrontEnd/src/views/admin/Admin.tsx
@@ -1,6 +1,5 @@
import React, { Fragment } from "react";
import { Redirect, Route, Switch, useRouteMatch, match } from "react-router";
-import { Container } from "react-bootstrap";
import { useTranslation } from "react-i18next";
import { AuthUser } from "@/services/user";
@@ -29,7 +28,7 @@ const Admin: React.FC<AdminProps> = ({ user }) => {
const match = p.match as match<{ name: string }>;
const name = match.params["name"];
return (
- <Container>
+ <div className="container">
<AdminNav />
{(() => {
if (name === "users") {
@@ -38,7 +37,7 @@ const Admin: React.FC<AdminProps> = ({ user }) => {
return <MoreAdmin user={user} />;
}
})()}
- </Container>
+ </div>
);
}}
</Route>