error
This commit is contained in:
parent
8ebada79e9
commit
66e5b4c9f2
@ -10,7 +10,7 @@ const useTxt2Voice = () => {
|
||||
utterance.pitch = 1;
|
||||
utterance.text = text;
|
||||
//@ts-ignore
|
||||
synthesizer.speak(utterance);
|
||||
synthesizer && synthesizer.speak(utterance);
|
||||
}
|
||||
const stop = () => {
|
||||
//@ts-ignore
|
||||
|
Loading…
x
Reference in New Issue
Block a user