aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/views/home/index.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-09-02 23:07:31 +0800
committercrupest <crupest@outlook.com>2020-09-02 23:07:31 +0800
commit817d00d3d26bb30d64b9b103a92cc96cbec14443 (patch)
tree6acdfdc3a87830eb6e7dd92f2298f79e33f9acf4 /Timeline/ClientApp/src/app/views/home/index.tsx
parentf476135ddb3031e5e3a93739909f98800f565181 (diff)
downloadtimeline-817d00d3d26bb30d64b9b103a92cc96cbec14443.tar.gz
timeline-817d00d3d26bb30d64b9b103a92cc96cbec14443.tar.bz2
timeline-817d00d3d26bb30d64b9b103a92cc96cbec14443.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.tsx7
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");
}}