From 326a8e7ec0c2fdad368a39cc9bd914ca96524103 Mon Sep 17 00:00:00 2001 From: zkldi Date: Thu, 28 Oct 2021 05:41:37 +0100 Subject: [PATCH] Linting time... --- client/src/app/pages/LandingPage.tsx | 2 +- client/src/components/layout/misc/BackgroundImage.tsx | 2 +- client/src/components/tables/cells/TimestampCell.tsx | 1 - client/src/components/tables/scores/BMSScoreTable.tsx | 3 +-- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/client/src/app/pages/LandingPage.tsx b/client/src/app/pages/LandingPage.tsx index 8c4c87718..cf3e16186 100644 --- a/client/src/app/pages/LandingPage.tsx +++ b/client/src/app/pages/LandingPage.tsx @@ -5,7 +5,7 @@ import Divider from "components/util/Divider"; import LinkButton from "components/util/LinkButton"; import { TachiConfig } from "lib/config"; import React from "react"; -import { ToCDNURL, ToServerURL } from "util/api"; +import { ToCDNURL } from "util/api"; import { toAbsoluteUrl } from "_metronic/_helpers"; // This page is currently unused, diff --git a/client/src/components/layout/misc/BackgroundImage.tsx b/client/src/components/layout/misc/BackgroundImage.tsx index cc4d3feae..4cfd27540 100644 --- a/client/src/components/layout/misc/BackgroundImage.tsx +++ b/client/src/components/layout/misc/BackgroundImage.tsx @@ -1,6 +1,6 @@ import { BackgroundContext } from "context/BackgroundContext"; import React, { useContext } from "react"; -import { ToCDNURL, ToServerURL } from "util/api"; +import { ToCDNURL } from "util/api"; export default function BackgroundImage() { const { background } = useContext(BackgroundContext); diff --git a/client/src/components/tables/cells/TimestampCell.tsx b/client/src/components/tables/cells/TimestampCell.tsx index 03a0e2e90..65889fac2 100644 --- a/client/src/components/tables/cells/TimestampCell.tsx +++ b/client/src/components/tables/cells/TimestampCell.tsx @@ -1,5 +1,4 @@ import React from "react"; -import { Badge } from "react-bootstrap"; import { integer } from "tachi-common"; import { FormatTime, MillisToSince } from "util/time"; diff --git a/client/src/components/tables/scores/BMSScoreTable.tsx b/client/src/components/tables/scores/BMSScoreTable.tsx index a9edfe03e..54b2021ce 100644 --- a/client/src/components/tables/scores/BMSScoreTable.tsx +++ b/client/src/components/tables/scores/BMSScoreTable.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { integer, Playtypes, PublicUserDocument } from "tachi-common"; +import { integer, Playtypes } from "tachi-common"; import { ScoreDataset } from "types/tables"; import { Playtype } from "types/tachi"; import { NumericSOV, StrSOV } from "util/sorts"; @@ -68,7 +68,6 @@ export default function BMSScoreTable({ function Row({ sc, - playtype, userCol, }: { sc: ScoreDataset<"bms:7K" | "bms:14K">[0];