Skip to content

Commit

Permalink
🐛 (tooltip) fix missing display names (#3710)
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamersmann authored Jun 13, 2024
1 parent a073530 commit f5071dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export class TooltipTable extends React.Component<TooltipTableProps> {
swatch = "transparent",
} = row
const [_m, seriesName, seriesParenthetical] =
name.match(/^(.*?)(\([^()]*\))?$/) ?? []
name.trim().match(/^(.*?)(\([^()]*\))?$/) ?? []

return (
<tr
Expand Down

0 comments on commit f5071dd

Please sign in to comment.