1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix missing key in React array

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen 2022-02-02 15:40:59 +02:00
parent 386823bab7
commit d1f55b96f2
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A

View File

@ -71,7 +71,7 @@ export class ItemListLayoutContent<I extends ItemObject> extends React.Component
@boundMethod @boundMethod
getRow(uid: string) { getRow(uid: string) {
return ( return (
<div> <div key={uid}>
<Observer> <Observer>
{() => { {() => {
const { const {
@ -87,7 +87,6 @@ export class ItemListLayoutContent<I extends ItemObject> extends React.Component
return ( return (
<TableRow <TableRow
key={itemId}
nowrap nowrap
searchItem={item} searchItem={item}
sortItem={item} sortItem={item}