mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-27 10:31:22 +08:00
chore: remove unnecessary code
This commit is contained in:
parent
2cba7576bd
commit
5f50628110
1 changed files with 0 additions and 5 deletions
|
|
@ -1152,11 +1152,6 @@ export async function finish(difficultyFailed = false): Promise<void> {
|
|||
dontSave,
|
||||
);
|
||||
|
||||
if (completedEvent.chartData !== "toolong") {
|
||||
// @ts-expect-error TODO: check if this is needed
|
||||
delete completedEvent.chartData.unsmoothedRaw;
|
||||
}
|
||||
|
||||
if (completedEvent.testDuration > 122) {
|
||||
completedEvent.chartData = "toolong";
|
||||
completedEvent.keySpacing = "toolong";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue