File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
x-pack/plugins/apm/public/components/app/ServiceMap/Popover Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import {
1010} from '@elastic/eui' ;
1111import { i18n } from '@kbn/i18n' ;
1212import cytoscape from 'cytoscape' ;
13- import React from 'react' ;
13+ import React , { Fragment } from 'react' ;
1414import styled from 'styled-components' ;
1515import {
1616 SPAN_SUBTYPE ,
@@ -71,7 +71,7 @@ export function Info(data: InfoProps) {
7171 resource . label || resource [ 'span.destination.service.resource' ] ;
7272 const desc = `${ resource [ 'span.type' ] } (${ resource [ 'span.subtype' ] } )` ;
7373 return (
74- < >
74+ < Fragment key = { resource . id } >
7575 < EuiDescriptionListTitle
7676 className = "eui-textTruncate"
7777 title = { title }
@@ -84,7 +84,7 @@ export function Info(data: InfoProps) {
8484 >
8585 { desc }
8686 </ EuiDescriptionListDescription >
87- </ >
87+ </ Fragment >
8888 ) ;
8989 } ) }
9090 </ EuiDescriptionList >
@@ -97,8 +97,8 @@ export function Info(data: InfoProps) {
9797 { listItems . map (
9898 ( { title, description } ) =>
9999 description && (
100- < div >
101- < ItemRow key = { title } >
100+ < div key = { title } >
101+ < ItemRow >
102102 < SubduedDescriptionListTitle >
103103 { title }
104104 </ SubduedDescriptionListTitle >
You can’t perform that action at this time.
0 commit comments