mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-27 00:04:37 +08:00
fix: console error when viewing replay (m4dd0c) (#4907)
This commit is contained in:
parent
09c9395ec0
commit
ffd4331f73
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ function loadOldReplay(): number {
|
|||
startingIndex = i + 1;
|
||||
}
|
||||
});
|
||||
const time = Math.floor(replayData[startingIndex].time / 1000);
|
||||
const time = Math.floor(replayData[startingIndex]?.time / 1000);
|
||||
updateStatsString(time);
|
||||
|
||||
return startingIndex;
|
||||
|
|
Loading…
Reference in a new issue