diff --git a/src/react/hooks/useStreamAudioPlayer.ts b/src/react/hooks/useStreamAudioPlayer.ts index ce11eba..d8ae764 100644 --- a/src/react/hooks/useStreamAudioPlayer.ts +++ b/src/react/hooks/useStreamAudioPlayer.ts @@ -70,7 +70,6 @@ export const useStreamAudioPlayer = (): StreamAudioPlayerReturn => { const loadArrayBuffer = useCallback( async (arrayBuffer: ArrayBuffer) => { - console.log(arrayBuffer); if (!arrayBuffer) return; if (maxLength === 0) { const newBlob = new Blob([arrayBuffer], { type: 'audio/mp3' }); diff --git a/src/react/useEdgeSpeech/demos/index.tsx b/src/react/useEdgeSpeech/demos/index.tsx index 168a1d8..cf8ef57 100644 --- a/src/react/useEdgeSpeech/demos/index.tsx +++ b/src/react/useEdgeSpeech/demos/index.tsx @@ -32,10 +32,6 @@ export default () => { const { setText, isGlobalLoading, start, stop, audio } = useEdgeSpeech(defaultText, { api, - onError: (err, ...rest) => { - console.log(err); - console.log(...rest); - }, options, }); return (