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.pitch = 1;
|
||||||
utterance.text = text;
|
utterance.text = text;
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
synthesizer.speak(utterance);
|
synthesizer && synthesizer.speak(utterance);
|
||||||
}
|
}
|
||||||
const stop = () => {
|
const stop = () => {
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
|
|||||||
Reference in new issue
Block a user