chore(sample): clean log in sample (#3868)

This commit is contained in:
Olivier Bouillet 2024-05-31 23:32:20 +02:00 committed by GitHub
parent b698b1837b
commit a604cd750a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,7 +99,6 @@ const Seeker = ({
useEffect(() => { useEffect(() => {
if (!isLoading && !seeking && !isUISeeking) { if (!isLoading && !seeking && !isUISeeking) {
console.log('update position from currentTime');
const percent = currentTime / duration; const percent = currentTime / duration;
const position = seekerWidth * percent; const position = seekerWidth * percent;
updateSeekerPosition(position); updateSeekerPosition(position);