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:
parent
386823bab7
commit
d1f55b96f2
@ -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}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user