mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
feat: isolated first archived season number
This commit is contained in:
1 parent
d991be4934
commit
882e61ff44
3 files changed
+3
-2
No files matched your search
@@ -16,6 +16,7 @@ import useSWR from 'swr';
|
||||
import { create } from 'zustand';
|
||||
import * as Leaderboard from '../../../components/Leaderboard';
|
||||
import PageWrapper from '../../../components/PageWrapper';
|
||||
import { FIRST_ARCHIVED_RATINGS_SEASON } from '../../../constants/ratings';
|
||||
import { REGIONS, REGION_NAMES, Region } from '../../../constants/regions';
|
||||
import { getAccountInfo } from '../../../core/blitz/getAccountInfo';
|
||||
import { getClanAccountInfo } from '../../../core/blitz/getClanAccountInfo';
|
||||
@@ -25,7 +26,6 @@ import { getArchivedRatingsLeaderboardAPI } from '../../../core/blitzkrieg/getAr
|
||||
import { numberFetcher } from '../../../core/blitzkrieg/numberFetcher';
|
||||
import { noArrows } from './page.css';
|
||||
|
||||
export const FIRST_ARCHIVED_RATINGS_SEASON = 49;
|
||||
const ROWS_PER_PAGE = 64;
|
||||
|
||||
const useUsernameCache = create<Record<Region, Record<number, string>>>(() => ({
|
||||
|
||||
@@ -6,10 +6,10 @@ import {
|
||||
} from 'discord.js';
|
||||
import { range } from 'lodash';
|
||||
import { BlitzkriegRatingsLeaderboard } from '../../scripts/buildRatingsLeaderboard';
|
||||
import { FIRST_ARCHIVED_RATINGS_SEASON } from '../app/tools/ratings/page';
|
||||
import * as Leaderboard from '../components/Leaderboard';
|
||||
import TitleBar from '../components/TitleBar';
|
||||
import Wrapper from '../components/Wrapper';
|
||||
import { FIRST_ARCHIVED_RATINGS_SEASON } from '../constants/ratings';
|
||||
import { REGION_NAMES_SHORT, Region } from '../constants/regions';
|
||||
import { getAccountInfo } from '../core/blitz/getAccountInfo';
|
||||
import { getClanAccountInfo } from '../core/blitz/getClanAccountInfo';
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
export const FIRST_ARCHIVED_RATINGS_SEASON = 49;
|
||||
Reference in new issue
Block a user