mirror of
https://github.com/jambonz/jambonz-webapp.git
synced 2026-07-23 20:42:19 +00:00
fix application is blank page if choosing custom speech vendor (#361)
This commit is contained in:
@@ -94,7 +94,7 @@ export const SpeechProviderSelection = ({
|
||||
|
||||
useEffect(() => {
|
||||
currentVendor.current = synthVendor;
|
||||
if (!synthesis) {
|
||||
if (!synthesis || synthVendor.startsWith("custom:")) {
|
||||
return;
|
||||
}
|
||||
const voiceOpts = synthesis[synthVendor as keyof SynthesisVendors]
|
||||
|
||||
Reference in New Issue
Block a user