Skip to content

Commit

Permalink
Removed trailing semicolon from comparison criteria request types
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkendis committed Jul 30, 2020
1 parent 096e3dd commit 04ee122
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/chartExtras/ComparisonCriteria.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,13 @@ const ComparisonCriteria = ({

return (
<>
{ selectedTypes.map(type => (
{ selectedTypes.map((type, i) => (
<span key={type.displayName}>
{ type.displayName }
&nbsp;[
<span style={{ color: type.color }}>{ type.abbrev }</span>
];&nbsp;
]
{ i < selectedTypes.length - 1 ? ';\u00a0' : '' }
</span>
))}
</>
Expand Down

0 comments on commit 04ee122

Please sign in to comment.