fix: better loading screen

This commit is contained in:
TrèsAbhi committed 2023-11-08 19:38:59 -06:00
1 parent 18a5fb80d0
commit 14fbb595fd
2 files changed
+11 -1

No files matched your search

+1 -1
View File
@@ -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/`,
)
+10
View File
@@ -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>