Skip to content

Commit

Permalink
♻️ refactor: Remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Nov 19, 2023
1 parent 4c9d305 commit 17b04fc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/react/hooks/useStreamAudioPlayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' });
Expand Down
4 changes: 0 additions & 4 deletions src/react/useEdgeSpeech/demos/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 17b04fc

Please sign in to comment.