From 9c73548e53ea5b8367bf0fb6f93eef0f0b3b8216 Mon Sep 17 00:00:00 2001 From: Miodec Date: Fri, 19 May 2023 13:23:00 +0200 Subject: [PATCH] removed testing code --- frontend/src/ts/pages/account.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/src/ts/pages/account.ts b/frontend/src/ts/pages/account.ts index a0d5ef861..a0eb0563a 100644 --- a/frontend/src/ts/pages/account.ts +++ b/frontend/src/ts/pages/account.ts @@ -522,10 +522,7 @@ function fillContent(): void { }; } - const bucket = Math.floor(result.wpm / 10) * 10; - const bucket2 = Math.floor(Math.round(result.wpm) / 10) * 10; - - if (bucket !== bucket2) console.log(result.wpm, bucket, bucket2); + const bucket = Math.floor(Math.round(result.wpm) / 10) * 10; if (Object.keys(histogramChartData).includes(String(bucket))) { histogramChartData[bucket]++;