fix(User): add missing unique key prop

This commit is contained in:
xidedix 2018-07-30 16:11:06 +02:00
parent 0ab11ea1e1
commit 9cc60d087e

View File

@ -25,7 +25,7 @@ class User extends Component {
{ {
userDetails.map(([key, value]) => { userDetails.map(([key, value]) => {
return ( return (
<tr> <tr key={key}>
<td>{`${key}:`}</td> <td>{`${key}:`}</td>
<td><strong>{value}</strong></td> <td><strong>{value}</strong></td>
</tr> </tr>