typescript makes me want to kms sometimes.
This commit is contained in:
parent
de3dec22de
commit
ed4bcc93e1
@ -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";
|
||||
|
Reference in New Issue
Block a user