diff options
author | crupest <crupest@outlook.com> | 2020-09-02 23:07:31 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-09-02 23:07:31 +0800 |
commit | f4ec0d19fab147ad1c7d21a87b74e4f1fc1849b7 (patch) | |
tree | 077975afa2486c71aac990778e14f5f9905001ce /Timeline/ClientApp/src/app/views/home/index.tsx | |
parent | 20d5614b6048873d5993ffa493f1b254fe8c73c1 (diff) | |
download | timeline-f4ec0d19fab147ad1c7d21a87b74e4f1fc1849b7.tar.gz timeline-f4ec0d19fab147ad1c7d21a87b74e4f1fc1849b7.tar.bz2 timeline-f4ec0d19fab147ad1c7d21a87b74e4f1fc1849b7.zip |
Migrate home page.
Diffstat (limited to 'Timeline/ClientApp/src/app/views/home/index.tsx')
-rw-r--r-- | Timeline/ClientApp/src/app/views/home/index.tsx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Timeline/ClientApp/src/app/views/home/index.tsx b/Timeline/ClientApp/src/app/views/home/index.tsx index f62cebca..e2e3e6f9 100644 --- a/Timeline/ClientApp/src/app/views/home/index.tsx +++ b/Timeline/ClientApp/src/app/views/home/index.tsx @@ -1,7 +1,7 @@ import React from "react"; import { useHistory } from "react-router"; -import { Row, Container, Button, Col } from "reactstrap"; import { useTranslation } from "react-i18next"; +import { Row, Container, Button, Col } from "react-bootstrap"; import { useUser } from "@/services/user"; import AppBar from "../common/AppBar"; @@ -35,7 +35,7 @@ const HomePage: React.FC = () => { return ( <> <AppBar /> - <Container fluid style={{ marginTop: "56px" }}> + <Container fluid> <Row> <Col> <SearchInput @@ -48,8 +48,7 @@ const HomePage: React.FC = () => { additionalButton={ user != null && ( <Button - color="success" - outline + variant="outline-success" onClick={() => { setDialog("create"); }} |