mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-15 18:15:58 +08:00
copying with json (for some reason without this some properties are lost ????)
This commit is contained in:
parent
120f51bbc1
commit
3de8472fde
1 changed files with 1 additions and 1 deletions
|
@ -1638,7 +1638,7 @@ export async function finish(difficultyFailed = false): Promise<void> {
|
|||
|
||||
$("#result .stats .dailyLeaderboard").addClass("hidden");
|
||||
|
||||
TestStats.setLastResult(completedEvent);
|
||||
TestStats.setLastResult(JSON.parse(JSON.stringify(completedEvent)));
|
||||
|
||||
await Result.update(
|
||||
completedEvent,
|
||||
|
|
Loading…
Add table
Reference in a new issue