+ {result.passed ? (
+
}
+ onClick={() => onSpanResultClick(result.spanId)}
+ type="link"
+ >
+ {getSpanName(trace.spans, result.spanId)}
+
+ ) : (
+ <>
+
}
+ onClick={() => onSpanResultClick(result.spanId)}
+ type="link"
+ $error
+ >
+ {getSpanName(trace.spans, result.spanId)}
+
+
+ {result.errors.map((error, index) => (
+ // eslint-disable-next-line react/no-array-index-key
+
+ {error}
+
+ ))}
+
+ >
+ )}
+
+ ))}
+