mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-28 08:43:07 +08:00
fix(leaderboards): soft lock after running out of data
This commit is contained in:
parent
d39cfd1b27
commit
eb995b775c
1 changed files with 1 additions and 0 deletions
|
@ -569,6 +569,7 @@ async function requestMore(lb: LbKey, prepend = false): Promise<void> {
|
|||
|
||||
if (response.status !== 200 || data.length === 0) {
|
||||
hideLoader(lb);
|
||||
requesting[lb] = false;
|
||||
return;
|
||||
}
|
||||
if (prepend) {
|
||||
|
|
Loading…
Reference in a new issue