error
This commit is contained in:
1 parent
8ebada79e9
commit
66e5b4c9f2
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user