Skip to content

Commit

Permalink
Remoção do console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
rtenorioh committed Aug 4, 2022
1 parent a0bc96a commit 7712ef9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions frontend/src/components/Audio/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ export default function({url}) {
const [showButtonRate, setShowButtonRate] = useState(false);

useEffect(() => {
console.log('set-ar', audioRate);

audioRef.current.playbackRate = audioRate;
localStorage.setItem(LS_NAME, audioRate);
}, [audioRate]);
Expand Down Expand Up @@ -50,8 +48,6 @@ export default function({url}) {
break;
}

console.log('new-ar', newRate);

setAudioRate(newRate);
};

Expand All @@ -63,4 +59,4 @@ export default function({url}) {
{showButtonRate && <Button style={{marginLeft: "5px", marginTop: "-45px"}} onClick={toogleRate}>{audioRate}x</Button>}
</>
);
}
}

1 comment on commit 7712ef9

@Anderson-Nascimento-Mendonca

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Boa tarde, qual era função do console.log??

Please sign in to comment.