diff --git a/src/pages/dashboard/DashboardPage.tsx b/src/pages/dashboard/DashboardPage.tsx index c7f4c0c..a0b73e2 100644 --- a/src/pages/dashboard/DashboardPage.tsx +++ b/src/pages/dashboard/DashboardPage.tsx @@ -1,13 +1,10 @@ // Copyright (c) 2020-2021 Drew Lemmy // This file is part of TenebraWeb 2 under AGPL-3.0. // Full details: https://github.com/tmpim/TenebraWeb2/blob/master/LICENSE.txt -import { Row, Col, Alert } from "antd"; +import { Row, Col } from "antd"; import { PageLayout } from "@layout/PageLayout"; -import { Trans } from "react-i18next"; -import { useTFns } from "@utils/i18n"; - import { InDevBanner } from "./InDevBanner"; import { WalletOverviewCard } from "./WalletOverviewCard"; @@ -17,16 +14,11 @@ import { MOTDCard } from "./MOTDCard"; import { TipsCard } from "./TipsCard"; -import { useSyncNode } from "@api"; -import { getAuthorInfo } from "@utils"; import { SyncDetailedWork } from "@global/ws/SyncDetailedWork"; import "./DashboardPage.less"; export function DashboardPage(): JSX.Element { - const { tKey } = useTFns("dashboard."); - const baseURL = useSyncNode(); - const { gitURL } = getAuthorInfo(); return {/* This was moved away from AppServices to here, as the detailed work @@ -36,13 +28,6 @@ - {/* Request for bug reports on GitHub. */} - {!([...baseURL].reduce((o, c) => o + (parseInt(c, 32) || 0), 0) === 0x1AA) && - Welcome to the TenebraWeb v2 private beta! This site is still in development, so - most features are currently missing. Please report all bugs on - GitHub. - Thanks!} />}