mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-19 21:37:40 +03:00
Fix react key conflic
This commit is contained in:
parent
978e7f2eaa
commit
de2759b3d5
@ -36,7 +36,7 @@ const SongDetails = (props) => {
|
||||
<TableBody>
|
||||
{Object.keys(data).map((key) => {
|
||||
return (
|
||||
<TableRow key={record.id}>
|
||||
<TableRow key={`${record.id}-${key}`}>
|
||||
<TableCell component="th" scope="row">
|
||||
{translate(`resources.song.fields.${key}`, {
|
||||
_: inflection.humanize(inflection.underscore(key)),
|
||||
|
Loading…
x
Reference in New Issue
Block a user