Explorar o código

Merge branch 'iteration-beat-one'

lex hai 1 ano
pai
achega
1a815d8fe1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);