This commit is contained in:
Quan HL
2024-01-27 11:41:21 +07:00
parent 6dd445fdb4
commit a6216d1db1

View File

@@ -196,7 +196,7 @@ export const SpeechProviderSelection = ({
setSynthesisVoiceOptions(voicesOpts);
}
if (synthesisGoogleCustomVoiceOptions.length > 0) {
setSynthVoice(synthesisGoogleCustomVoiceOptions[0].value);
updateTtsVoice(synthesisGoogleCustomVoiceOptions[0].value);
}
} else {
setSynthesisVoiceOptions(voicesOpts);