From a8eb2372cbda51f176b36967e2c035ce0dad8e22 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 26 Oct 2024 11:46:24 +0100 Subject: [PATCH] fix imports --- .../website/src/components/leaderboard/leaderboard-score.tsx | 1 - .../website/src/components/leaderboard/leaderboard-scores.tsx | 2 -- projects/website/src/components/score/score.tsx | 3 +-- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/projects/website/src/components/leaderboard/leaderboard-score.tsx b/projects/website/src/components/leaderboard/leaderboard-score.tsx index 1d026d5..bd76cea 100644 --- a/projects/website/src/components/leaderboard/leaderboard-score.tsx +++ b/projects/website/src/components/leaderboard/leaderboard-score.tsx @@ -1,6 +1,5 @@ import { ScoreSaberScore } from "@ssr/common/model/score/impl/scoresaber-score"; import { formatNumberWithCommas, formatPp } from "@ssr/common/utils/number-utils"; -import ScoreSaberPlayerToken from "@ssr/common/types/token/scoresaber/score-saber-player-token"; import { PlayerInfo } from "@/components/player/player-info"; import { clsx } from "clsx"; import Tooltip from "@/components/tooltip"; diff --git a/projects/website/src/components/leaderboard/leaderboard-scores.tsx b/projects/website/src/components/leaderboard/leaderboard-scores.tsx index 686615e..7a001a5 100644 --- a/projects/website/src/components/leaderboard/leaderboard-scores.tsx +++ b/projects/website/src/components/leaderboard/leaderboard-scores.tsx @@ -13,8 +13,6 @@ import { fetchLeaderboardScores } from "@ssr/common/utils/score-utils"; import { ScoreSaberScore } from "@ssr/common/model/score/impl/scoresaber-score"; import ScoreSaberLeaderboard from "@ssr/common/leaderboard/impl/scoresaber-leaderboard"; import LeaderboardScoresResponse from "@ssr/common/response/leaderboard-scores-response"; -import useDatabase from "@/hooks/use-database"; -import { useLiveQuery } from "dexie-react-hooks"; import LeaderboardScoresSkeleton from "@/components/leaderboard/skeleton/leaderboard-scores-skeleton"; import ScoreSaberPlayer from "@ssr/common/player/impl/scoresaber-player"; diff --git a/projects/website/src/components/score/score.tsx b/projects/website/src/components/score/score.tsx index 09fe91c..8bc0d51 100644 --- a/projects/website/src/components/score/score.tsx +++ b/projects/website/src/components/score/score.tsx @@ -4,7 +4,7 @@ import { useEffect, useState } from "react"; import { motion } from "framer-motion"; import { useQuery } from "@tanstack/react-query"; import { CubeIcon } from "@heroicons/react/24/solid"; -import { GitGraph, TrendingUpIcon } from "lucide-react"; +import { TrendingUpIcon } from "lucide-react"; import ScoreButtons from "./score-buttons"; import ScoreSongInfo from "./score-song-info"; import ScoreRankInfo from "./score-rank-info"; @@ -26,7 +26,6 @@ import ScoreSaberLeaderboard from "@ssr/common/leaderboard/impl/scoresaber-leade import { BeatSaverMap } from "@ssr/common/model/beatsaver/map"; import LeaderboardScoresResponse from "@ssr/common/response/leaderboard-scores-response"; import { ScoreStatsToken } from "@ssr/common/types/token/beatleader/score-stats/score-stats"; -import ScoreSaberPlayerToken from "@ssr/common/types/token/scoresaber/score-saber-player-token"; import ScoreSaberPlayer from "@ssr/common/player/impl/scoresaber-player"; type Props = {