typescript makes me want to kms sometimes.
All checks were successful
Deploy Backend / docker (ubuntu-latest) (push) Successful in 40s
Deploy Website / docker (ubuntu-latest) (push) Successful in 2m24s

This commit is contained in:
Lee 2024-10-23 15:52:25 +01:00
parent de3dec22de
commit ed4bcc93e1
2 changed files with 2 additions and 2 deletions

@ -21,7 +21,7 @@ export default class BeatSaverService {
}
// If the map does not need to be refreshed, return it
if (!map.shouldRefresh()) {
if (!(map as unknown as BeatSaverMap).shouldRefresh()) {
return toObject;
}
}

@ -3,7 +3,7 @@ import Image from "next/image";
import { LeaderboardSongStarCount } from "@/components/leaderboard/leaderboard-song-star-count";
import ScoreButtons from "@/components/score/score-buttons";
import ScoreSaberLeaderboard from "@ssr/common/leaderboard/impl/scoresaber-leaderboard";
import { BeatSaverMap } from "../../../../common/src/model/beatsaver/map";
import { BeatSaverMap } from "@ssr/common/model/beatsaver/map";
import { getBeatSaverMapperProfileUrl } from "@ssr/common/utils/beatsaver.util";
import FallbackLink from "@/components/fallback-link";
import { formatNumber } from "@ssr/common/utils/number-utils";