+62
−18
Loading
This commit introduces client-side storage for song favorites. Favorite states are now saved to and loaded from the user's localStorage, ensuring persistence across sessions. - Added helper functions in SongList.mjs to manage reading from and writing to localStorage. - Modified song loading logic to initialize favorite states from localStorage. - Updated the toggle favorite functionality to persist changes to localStorage. - Ensured consistent block syntax for try...catch statements.