mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-29 02:07:55 +08:00
Clear rewards (#3528)
This commit is contained in:
parent
ecfd7fd430
commit
7339ec7ce0
1 changed files with 1 additions and 0 deletions
|
|
@ -875,6 +875,7 @@ export async function updateInbox(
|
|||
mail.read = true;
|
||||
if (rewards.length > 0) {
|
||||
allRewards.push(...rewards);
|
||||
mail.rewards = [];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue