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