Skip to content

Commit

Permalink
minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
gb0808 committed Oct 16, 2024
1 parent 8f433c1 commit 2e4731f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion extensions/BeatBlox/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,6 @@

let duration = '';
while (beatLength >= NOTE_DURATION_LENGTHS[0]) {
let index;
for (let i = 0; i < NOTE_DURATION_LENGTHS.length; i++) {
if (i === NOTE_DURATION_LENGTHS.length - 1 && beatLength >= NOTE_DURATION_LENGTHS[i]) index = i;
else if (beatLength < NOTE_DURATION_LENGTHS[i]) {
Expand Down

0 comments on commit 2e4731f

Please sign in to comment.