Skip to content

Commit

Permalink
chore: remove useless let
Browse files Browse the repository at this point in the history
  • Loading branch information
cyperdark committed Jul 1, 2024
1 parent 31821ac commit 2c4cd07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/tosu/src/entities/BeatmapPpData/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit 2c4cd07

Please sign in to comment.