react-text-to-speech
Advanced tools
Comparing version 0.12.4 to 0.12.5
@@ -50,4 +50,2 @@ import React, { cloneElement, isValidElement, useEffect, useMemo, useRef, useState } from "react"; | ||
utterance.onboundary = null; | ||
if (synth.paused) | ||
cancel(); | ||
ExtendedSpeechSynthesis.removeFromQueue(); | ||
@@ -54,0 +52,0 @@ ExtendedSpeechSynthesis.speakFromQueue(); |
{ | ||
"name": "react-text-to-speech", | ||
"version": "0.12.4", | ||
"version": "0.12.5", | ||
"description": "An easy to use react component for the Web Speech API.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
33915
349