mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-10-03 00:27:30 -05:00
Fix wrong pending plus tiers showing
This commit is contained in:
@@ -116,7 +116,7 @@ export const loader = async ({ request }: LoaderArgs) => {
|
||||
const withTiers = addTiers(leaderboard, season);
|
||||
|
||||
const shouldAddPendingPlusTier =
|
||||
season === currentOrPreviousSeason(new Date())?.nth &&
|
||||
season === currentSeason(new Date())?.nth &&
|
||||
leaderboard.length >= USER_LEADERBOARD_MIN_ENTRIES_FOR_LEVIATHAN;
|
||||
const withPendingPlusTiers = shouldAddPendingPlusTier
|
||||
? addPendingPlusTiers(withTiers)
|
||||
|
||||
Reference in New Issue
Block a user