Jelajahi Sumber

Merge branch 'iteration-beat-one'

lex 1 tahun lalu
induk
melakukan
1a815d8fe1
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/views/tempo-practice/setting.ts

+ 1 - 1
src/views/tempo-practice/setting.ts

@@ -67,7 +67,7 @@ export const randomScoreElement = (element?: string) => {
     if (tempoList.length === 1) {
       return {
         url: prefix + tempoList[0] + '.png',
-        index: tempoList[0]
+        index: 0
       };
     } else {
       const randomIndex = Math.floor(Math.random() * tempoList.length);