Fix react key conflic

This commit is contained in:
Deluan 2020-05-22 20:48:49 -04:00
parent 978e7f2eaa
commit de2759b3d5
1 changed files with 1 additions and 1 deletions

View File

@ -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)),