diff --git a/projects/website/src/components/leaderboard/leaderboard-score.tsx b/projects/website/src/components/leaderboard/leaderboard-score.tsx index 8b344a2..ad37a11 100644 --- a/projects/website/src/components/leaderboard/leaderboard-score.tsx +++ b/projects/website/src/components/leaderboard/leaderboard-score.tsx @@ -2,7 +2,7 @@ import ScoreSaberScore from "@ssr/common/score/impl/scoresaber-score"; import { formatNumberWithCommas, formatPp } from "@ssr/common/utils/number-utils"; import { timeAgo } from "@ssr/common/utils/time-utils"; import ScoreSaberPlayerToken from "@ssr/common/types/token/scoresaber/score-saber-player-token"; -import { TablePlayer } from "@/components/table-player"; +import { PlayerInfo } from "@/components/player/player-info"; type Props = { /** @@ -26,7 +26,7 @@ export default function LeaderboardScore({ score, claimedPlayer }: Props) { {/* Player */}
#{formatNumberWithCommas(rank)}
{formatPp(playerRanking.pp)}pp
diff --git a/projects/website/src/components/ranking/player-ranking.tsx b/projects/website/src/components/ranking/player-ranking.tsx index 2d20581..cd12a25 100644 --- a/projects/website/src/components/ranking/player-ranking.tsx +++ b/projects/website/src/components/ranking/player-ranking.tsx @@ -5,7 +5,7 @@ import ScoreSaberPlayerToken from "@ssr/common/types/token/scoresaber/score-sabe import useDatabase from "@/hooks/use-database"; import { useLiveQuery } from "dexie-react-hooks"; import { clsx } from "clsx"; -import { TablePlayer } from "@/components/table-player"; +import { PlayerInfo } from "@/components/player/player-info"; type PlayerRankingProps = { player: ScoreSaberPlayerToken; @@ -26,7 +26,7 @@ export function PlayerRanking({ player, isCountry }: PlayerRankingProps) { {isCountry && "(#" + formatNumberWithCommas(player.rank) + ")"}