From bc94e5cbb79895de82c83e69dd8ef55e2ebae4fe Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Sun, 20 Feb 2022 14:06:57 +0000 Subject: [PATCH] Fix imports --- .../_game/_playtype/folders/SpecificFolderPage.tsx | 1 - .../src/components/sessions/SessionRaiseBreakdown.tsx | 1 - client/src/components/tables/cells/PopnLampCell.tsx | 1 - .../components/tables/game-core-cells/PMSCoreCells.tsx | 1 - .../tables/history-scores/HistoryScoreTable.tsx | 4 +--- .../components/tables/sessions/GenericSessionTable.tsx | 1 - client/src/components/user/UGPTStatShowcase.tsx | 10 +++++----- 7 files changed, 6 insertions(+), 13 deletions(-) diff --git a/client/src/app/pages/dashboard/users/games/_game/_playtype/folders/SpecificFolderPage.tsx b/client/src/app/pages/dashboard/users/games/_game/_playtype/folders/SpecificFolderPage.tsx index 844151336..b46c363a6 100644 --- a/client/src/app/pages/dashboard/users/games/_game/_playtype/folders/SpecificFolderPage.tsx +++ b/client/src/app/pages/dashboard/users/games/_game/_playtype/folders/SpecificFolderPage.tsx @@ -10,7 +10,6 @@ import Muted from "components/util/Muted"; import useApiQuery from "components/util/query/useApiQuery"; import SelectButton from "components/util/SelectButton"; import { useFormik } from "formik"; -import { nanoid } from "nanoid"; import React, { useEffect, useMemo, useState } from "react"; import { Col, Form, Row } from "react-bootstrap"; import { Link, useParams } from "react-router-dom"; diff --git a/client/src/components/sessions/SessionRaiseBreakdown.tsx b/client/src/components/sessions/SessionRaiseBreakdown.tsx index 0ba449d1b..8876047b2 100644 --- a/client/src/components/sessions/SessionRaiseBreakdown.tsx +++ b/client/src/components/sessions/SessionRaiseBreakdown.tsx @@ -8,7 +8,6 @@ import Icon from "components/util/Icon"; import Loading from "components/util/Loading"; import SelectButton from "components/util/SelectButton"; import deepmerge from "deepmerge"; -import { nanoid } from "nanoid"; import React, { useEffect, useMemo, useState } from "react"; import { useQuery } from "react-query"; import { diff --git a/client/src/components/tables/cells/PopnLampCell.tsx b/client/src/components/tables/cells/PopnLampCell.tsx index 16a27f61f..fb627c8ce 100644 --- a/client/src/components/tables/cells/PopnLampCell.tsx +++ b/client/src/components/tables/cells/PopnLampCell.tsx @@ -1,4 +1,3 @@ -import Muted from "components/util/Muted"; import React from "react"; import { GetGamePTConfig, PBScoreDocument, ScoreDocument } from "tachi-common"; import { ToCDNURL } from "util/api"; diff --git a/client/src/components/tables/game-core-cells/PMSCoreCells.tsx b/client/src/components/tables/game-core-cells/PMSCoreCells.tsx index c0141aa45..d5e999033 100644 --- a/client/src/components/tables/game-core-cells/PMSCoreCells.tsx +++ b/client/src/components/tables/game-core-cells/PMSCoreCells.tsx @@ -2,7 +2,6 @@ import React from "react"; import { IDStrings, PBScoreDocument, ScoreCalculatedDataLookup, ScoreDocument } from "tachi-common"; import BMSOrPMSLampCell from "../cells/BMSOrPMSLampCell"; import DeltaCell from "../cells/DeltaCell"; -import LampCell from "../cells/LampCell"; import RatingCell from "../cells/RatingCell"; import ScoreCell from "../cells/ScoreCell"; diff --git a/client/src/components/tables/history-scores/HistoryScoreTable.tsx b/client/src/components/tables/history-scores/HistoryScoreTable.tsx index e5d572d1e..638b82f33 100644 --- a/client/src/components/tables/history-scores/HistoryScoreTable.tsx +++ b/client/src/components/tables/history-scores/HistoryScoreTable.tsx @@ -1,5 +1,4 @@ import useScoreRatingAlg from "components/util/useScoreRatingAlg"; -import { nanoid } from "nanoid"; import React, { useState } from "react"; import { ChartDocument, @@ -13,8 +12,7 @@ import { ScoreDataset } from "types/tables"; import { Playtype } from "types/tachi"; import { NumericSOV } from "util/sorts"; import TimestampCell from "../cells/TimestampCell"; -import SelectableRating from "../components/SelectableRating"; -import TachiTable, { ZTableTHProps } from "../components/TachiTable"; +import TachiTable from "../components/TachiTable"; import ScoreCoreCells from "../game-core-cells/ScoreCoreCells"; import { GetGPTCoreHeaders } from "../headers/GameHeaders"; diff --git a/client/src/components/tables/sessions/GenericSessionTable.tsx b/client/src/components/tables/sessions/GenericSessionTable.tsx index ddc2a3d6d..0ff94c10e 100644 --- a/client/src/components/tables/sessions/GenericSessionTable.tsx +++ b/client/src/components/tables/sessions/GenericSessionTable.tsx @@ -1,5 +1,4 @@ import { useSessionRatingAlg } from "components/util/useScoreRatingAlg"; -import { nanoid } from "nanoid"; import React, { useState } from "react"; import { Link } from "react-router-dom"; import { diff --git a/client/src/components/user/UGPTStatShowcase.tsx b/client/src/components/user/UGPTStatShowcase.tsx index 224d2fb9a..2f8f771ab 100644 --- a/client/src/components/user/UGPTStatShowcase.tsx +++ b/client/src/components/user/UGPTStatShowcase.tsx @@ -12,14 +12,14 @@ import React, { useContext, useState } from "react"; import { Alert, OverlayTrigger, Tooltip } from "react-bootstrap"; import { Link } from "react-router-dom"; import { - PublicUserDocument, + ChartDocument, + FolderDocument, + FormatChart, Game, GetGamePTConfig, - SongDocument, - ChartDocument, - FormatChart, - FolderDocument, + PublicUserDocument, ShowcaseStatDetails, + SongDocument, } from "tachi-common"; import { UGPTPreferenceStatsReturn } from "types/api-returns"; import { GamePT } from "types/react";