mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
fix: better loading screen
This commit is contained in:
1 parent
18a5fb80d0
commit
14fbb595fd
2 files changed
+11
-1
No files matched your search
@@ -28,7 +28,7 @@ const server = argv.find((arg) => arg.startsWith('--region='))?.split('=')[1];
|
||||
|
||||
if (!server) throw new Error('Region parameter not specified');
|
||||
|
||||
const NEIGHBORS = 1000;
|
||||
const NEIGHBORS = 1024;
|
||||
const PLAYERS = await patientFetch(
|
||||
`https://${server}.wotblitz.com/en/api/rating-leaderboards/season/`,
|
||||
)
|
||||
|
||||
@@ -862,6 +862,9 @@ export default function Page() {
|
||||
height: '100%',
|
||||
background: blackA.blackA10,
|
||||
zIndex: 2,
|
||||
boxSizing: 'border-box',
|
||||
padding: 32,
|
||||
textAlign: 'center',
|
||||
}}
|
||||
gap="4"
|
||||
justify="center"
|
||||
@@ -893,6 +896,13 @@ export default function Page() {
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<Flex direction="column">
|
||||
<Text color="gray">Please be patient. Wargaming is slow.</Text>
|
||||
<Text color="gray">
|
||||
Players are loaded in batches of {SEEDING_SIZE}.
|
||||
</Text>
|
||||
</Flex>
|
||||
</Flex>
|
||||
)}
|
||||
</PageWrapper>
|
||||
|
||||
Reference in new issue
Block a user