aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/app/views/center/BoardWithoutUser.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-04-16 18:01:38 +0800
committercrupest <crupest@outlook.com>2021-04-16 18:01:48 +0800
commitb0cf464004142dce602fa882c8d638605be7e479 (patch)
tree5fbff51ad6d40c53dafc10779b643c4c27f3c472 /FrontEnd/src/app/views/center/BoardWithoutUser.tsx
parent3fd4375920c7692082f6e8e91d763ec5c0a1d72a (diff)
downloadtimeline-b0cf464004142dce602fa882c8d638605be7e479.tar.gz
timeline-b0cf464004142dce602fa882c8d638605be7e479.tar.bz2
timeline-b0cf464004142dce602fa882c8d638605be7e479.zip
...
Diffstat (limited to 'FrontEnd/src/app/views/center/BoardWithoutUser.tsx')
-rw-r--r--FrontEnd/src/app/views/center/BoardWithoutUser.tsx33
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;