@gamelearn/arcade-components 1.26.7 → 1.26.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/helpers/useEkho.js +0 -4
- package/package.json +1 -1
package/dist/helpers/useEkho.js
CHANGED
|
@@ -150,10 +150,6 @@ var useEkho = function useEkho(_ref) {
|
|
|
150
150
|
}(), [emitEvent, isMounted, onError, setCurrentPlaying]);
|
|
151
151
|
var stopCurrentAudio = (0, _react.useCallback)(function () {
|
|
152
152
|
if (currentPlaying.current.url) {
|
|
153
|
-
currentPlaying.current = {
|
|
154
|
-
url: '',
|
|
155
|
-
cc: 'tts'
|
|
156
|
-
};
|
|
157
153
|
stop(currentPlaying.current.cc);
|
|
158
154
|
}
|
|
159
155
|
}, [stop]); // Setted when is mounted
|