From 2c4cd07973bd869cde18c85fe97db32f367f8690 Mon Sep 17 00:00:00 2001 From: ck <21735205+cyperdark@users.noreply.github.com> Date: Mon, 1 Jul 2024 18:55:33 +0300 Subject: [PATCH] chore: remove useless let --- packages/tosu/src/entities/BeatmapPpData/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/tosu/src/entities/BeatmapPpData/index.ts b/packages/tosu/src/entities/BeatmapPpData/index.ts index 00dfe68c..624baa1c 100644 --- a/packages/tosu/src/entities/BeatmapPpData/index.ts +++ b/packages/tosu/src/entities/BeatmapPpData/index.ts @@ -438,10 +438,10 @@ export class BeatmapPPData extends AbstractEntity { resultStrains.series[0].data.length - LEFT_OFFSET - RIGHT_OFFSET; - let lastTime = 0; for (let i = 0; i < total; i++) { - lastTime = firstObjectTime + i * sectionOffsetTime; - resultStrains.xaxis.push(lastTime); + resultStrains.xaxis.push( + firstObjectTime + i * sectionOffsetTime + ); } for (let i = 0; i < RIGHT_OFFSET; i++) {