Skip to content

Commit 3281139

Browse files
Merge pull request #1337 from digma-ai/fix/root-cause-link
Fix Scaling insight links
2 parents 02e4b1b + 8131da7 commit 3281139

File tree

1 file changed

+2
-4
lines changed
  • src/components/Insights/InsightsCatalog/InsightsPage/InsightCardRenderer/insightCards/SpanScalingInsightCard

1 file changed

+2
-4
lines changed

src/components/Insights/InsightsCatalog/InsightsPage/InsightCardRenderer/insightCards/SpanScalingInsightCard/index.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const SpanScalingInsightCard = ({
4040
insight.id
4141
);
4242

43-
const handleLinkClick = (spanCodeObjectId: string) => () => () => {
43+
const handleLinkClick = (spanCodeObjectId: string) => () => {
4444
onAssetLinkClick(spanCodeObjectId, insight.type);
4545
};
4646

@@ -130,9 +130,7 @@ export const SpanScalingInsightCard = ({
130130
</KeyValue>
131131
<KeyValue
132132
label={"Duration"}
133-
info={
134-
"The execution time range from minimal to maximum duration"
135-
}
133+
info={"The execution time range from minimal to maximum duration"}
136134
>
137135
{durationRangeString}
138136
</KeyValue>

0 commit comments

Comments
 (0)