This is my personal website

fetch current song every 3 seconds

+1 -1
+1 -1
islands/NowPlaying.tsx
··· 166 166 fetchLastPlayedSong(); 167 167 const interval = setInterval(() => { 168 168 fetchNowPlaying(); 169 - }, 15000); 169 + }, 3000); 170 170 fetchNowPlaying(); 171 171 return () => clearInterval(interval); 172 172 }, []);