Changeset ce45c7a for frontend/src/pages/MusicalCollection.tsx
- Timestamp:
- 02/15/26 00:39:55 (5 months ago)
- Branches:
- main
- Children:
- c8baad1
- Parents:
- 85512ff
- File:
-
- 1 edited
-
frontend/src/pages/MusicalCollection.tsx (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/pages/MusicalCollection.tsx
r85512ff rce45c7a 21 21 const [isLoading, setIsLoading] = useState(true); 22 22 const [error, setError] = useState<string | null>(null); 23 const [openDropdownSongId, setOpenDropdownSongId] = useState<number | null>( 24 null, 25 ); 23 26 24 27 const normalizeCollection = ( … … 236 239 index={index + 1} 237 240 onLikeToggle={() => toggleLike(song.id)} 241 isDropdownOpen={openDropdownSongId === song.id} 242 onDropdownToggle={setOpenDropdownSongId} 238 243 /> 239 244 ))}
Note:
See TracChangeset
for help on using the changeset viewer.
