diff --git a/src/components/Insights/TopUsageInsight/index.tsx b/src/components/Insights/TopUsageInsight/index.tsx index 31713d4e3..2886fbce1 100644 --- a/src/components/Insights/TopUsageInsight/index.tsx +++ b/src/components/Insights/TopUsageInsight/index.tsx @@ -54,14 +54,15 @@ export const TopUsageInsight = (props: TopUsageInsightProps) => { {flow.firstService.span} - - {flow.intermediateSpan && ( - <> -> {flow.intermediateSpan} - )} - - {flow.lastService ? ( + {flow.intermediateSpan && ( + -> {flow.intermediateSpan} + )} + {flow.lastService && ( - {flow.lastService.service} + + {" "} + -> {flow.lastService.service} + handleServiceLinkClick( @@ -72,10 +73,10 @@ export const TopUsageInsight = (props: TopUsageInsightProps) => { {flow.lastService.span} - ) : null} - - {flow.lastServiceSpan && <> -> {flow.lastServiceSpan}} - + )} + {flow.lastServiceSpan && ( + -> {flow.lastServiceSpan} + )} {config.isJaegerEnabled && traceId && (