use unique id for places that may have duplicates

This commit is contained in:
Kendall Garner 2024-09-04 19:34:07 -07:00
parent 6b0c57998b
commit e6bd8deb0c
No known key found for this signature in database
GPG key ID: 18D2767419676C87
3 changed files with 3 additions and 3 deletions

View file

@ -70,7 +70,7 @@ export const SimilarSongsList = ({ count, fullScreen, song }: SimilarSongsListPr
song,
}}
deselectOnClickOutside={fullScreen}
getRowId={(data) => data.data.id}
getRowId={(data) => data.data.uniqueId}
rowBuffer={50}
rowData={songQuery.data ?? []}
rowHeight={tableConfig.rowHeight || 40}