Skip to content

[APM] React key warning when opening popover with external resources #80296

@cauemarcondes

Description

@cauemarcondes

Open the Service Maps and click to open the popover that shows a list with all external resources. React throws a warning message saying we should add the key property.

react_devtools_backend.js:2273 Warning: Each child in a list should have a unique "key" prop.

Check the render method of `Info`. See https://fb.me/react-warning-keys for more information.
    in Fragment (created by Info)
    in Info (created by Contents)
    in div (created by EuiFlexItem)
    in EuiFlexItem (created by FlexColumnItem)
    in FlexColumnItem (created by Contents)
    in div (created by EuiFlexGroup)
    in EuiFlexGroup (created by FlexColumnGroup)

Add a key property here https://github.com/elastic/kibana/blob/master/x-pack/plugins/apm/public/components/app/ServiceMap/Popover/Info.tsx#L74:L74

Metadata

Metadata

Assignees

Labels

Team:APM - DEPRECATEDUse Team:obs-ux-infra_services.technical debtImprovement of the software architecture and operational architecture

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions