diff options
| author | crupest <crupest@outlook.com> | 2021-04-16 18:01:38 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2021-04-16 18:01:48 +0800 |
| commit | 9d2efb381bdd4e3f162a502a1260542a9a7db44b (patch) | |
| tree | 309dcdd767c7e77c1432652a594aafff9d639237 /FrontEnd/src/app/views/center/BoardWithoutUser.tsx | |
| parent | 2981b7fb9002ee424a4e4358f04914de63f60141 (diff) | |
| download | timeline-9d2efb381bdd4e3f162a502a1260542a9a7db44b.tar.gz timeline-9d2efb381bdd4e3f162a502a1260542a9a7db44b.tar.bz2 timeline-9d2efb381bdd4e3f162a502a1260542a9a7db44b.zip | |
...
Diffstat (limited to 'FrontEnd/src/app/views/center/BoardWithoutUser.tsx')
| -rw-r--r-- | FrontEnd/src/app/views/center/BoardWithoutUser.tsx | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/FrontEnd/src/app/views/center/BoardWithoutUser.tsx b/FrontEnd/src/app/views/center/BoardWithoutUser.tsx deleted file mode 100644 index d9c7fcf4..00000000 --- a/FrontEnd/src/app/views/center/BoardWithoutUser.tsx +++ /dev/null @@ -1,33 +0,0 @@ -import React from "react"; -import { Row, Col } from "react-bootstrap"; -import { useTranslation } from "react-i18next"; - -import { getHttpHighlightClient } from "@/http/highlight"; -import { getHttpTimelineClient } from "@/http/timeline"; - -import TimelineBoard from "./TimelineBoard"; - -const BoardWithoutUser: React.FC = () => { - const { t } = useTranslation(); - - return ( - <Row className="my-3 justify-content-center"> - <Col xs="12" md="6"> - <TimelineBoard - title={t("home.highlightTimeline")} - load={() => getHttpHighlightClient().list()} - /> - </Col> - <Col xs="12" md="6" className="my-3 my-md-0"> - <TimelineBoard - title={t("home.publicTimeline")} - load={() => - getHttpTimelineClient().listTimeline({ visibility: "Public" }) - } - /> - </Col> - </Row> - ); -}; - -export default BoardWithoutUser; |
