Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Yassin-Samir committed Aug 21, 2024
2 parents d8da8b5 + d00d8db commit 1a47f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/albums/[id]/songPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function SongPlayer({
ref={audioRef}
onPause={() => setPaused(true)}
onVolumeChange={(e) => setVolume(e.currentTarget.volume)}
onCanPlay={() => setLoading(false)}
onCanPlayThrough={() => setLoading(false)}
onError={async (e) => {
console.log({ error: e.currentTarget.error });
await sleep(2000);
Expand Down

0 comments on commit 1a47f68

Please sign in to comment.