Randeep Singh
Results
comments of
Randeep Singh
@erencanertem here is the solution hope it helps const handleSkip = async () => { const currentIndex = songs.findIndex((song)=>song.id===currentSong.id); await setCurrentSong(songs[(currentIndex+1) % songs.length]); }