Skip to content

Commit 476190a

Browse files
fix(tags): updates other segment key to be unique (#44152)
Updates the other segment key to be unique in case a tag value is literally `other`
1 parent 3868661 commit 476190a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/app/components/group/tagFacets/tagFacetsDistributionMeter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ function TagFacetsDistributionMeter({
135135
};
136136
return (
137137
<div
138-
key={value.value}
138+
key={value.isOther ? 'other' : `segment-${value.value}`}
139139
style={{width: pct + '%'}}
140140
onMouseOver={() => {
141141
setHoveredValue(value);

0 commit comments

Comments
 (0)