chore: format

This commit is contained in:
Timothy J. Baek
2024-10-06 16:51:07 -07:00
parent 4623fdfce2
commit c8e609c3d1
43 changed files with 130 additions and 3 deletions

View File

@@ -66,7 +66,7 @@
// do your loop
if (voices.length > 0) {
clearInterval(getVoicesLoop);
voices.sort((a,b) => a.name.localeCompare(b.name,$i18n.resolvedLanguage));
voices.sort((a, b) => a.name.localeCompare(b.name, $i18n.resolvedLanguage));
}
}, 100);
} else {
@@ -77,7 +77,7 @@
if (res) {
console.log(res);
voices = res.voices;
voices.sort((a,b) => a.name.localeCompare(b.name,$i18n.resolvedLanguage));
voices.sort((a, b) => a.name.localeCompare(b.name, $i18n.resolvedLanguage));
}
}
};
@@ -297,7 +297,8 @@
<option
value={voice.voiceURI}
class="bg-gray-100 dark:bg-gray-700"
selected={TTS_VOICE === voice.voiceURI}>{voice.name.replace('+',', ')}</option
selected={TTS_VOICE === voice.voiceURI}
>{voice.name.replace('+', ', ')}</option
>
{/each}
</select>