cleanup and add weighted pp hover on score

This commit is contained in:
Lee
2023-10-29 13:25:41 +00:00
parent 7b293b3eff
commit bef899d21e
10 changed files with 69 additions and 31 deletions
src
app
analytics
leaderboard/[id]/[page]
player/[id]/[sort]/[page]
components
utils

@ -3,7 +3,7 @@ import Card from "@/components/Card";
import Container from "@/components/Container";
import { ScoresaberMetricsHistory } from "@/schemas/fascinated/scoresaberMetricsHistory";
import { ssrSettings } from "@/ssrSettings";
import { formatNumber } from "@/utils/number";
import { formatNumber } from "@/utils/numberUtils";
import { isProduction } from "@/utils/utils";
import { Metadata } from "next";
import Link from "next/link";

@ -1,5 +1,5 @@
import Leaderboard from "@/components/leaderboard/Leaderboard";
import { formatNumber } from "@/utils/number";
import { formatNumber } from "@/utils/numberUtils";
import { ScoreSaberAPI } from "@/utils/scoresaber/api";
import { scoresaberDifficultyNumberToName } from "@/utils/songUtils";
import { formatTime } from "@/utils/timeUtils";

@ -1,6 +1,6 @@
import PlayerPage from "@/components/player/PlayerPage";
import { ssrSettings } from "@/ssrSettings";
import { formatNumber } from "@/utils/number";
import { formatNumber } from "@/utils/numberUtils";
import { ScoreSaberAPI } from "@/utils/scoresaber/api";
import { normalizedRegionName } from "@/utils/utils";
import { Metadata } from "next";