Skip to content

Commit

Permalink
chore: change span to button in route view
Browse files Browse the repository at this point in the history
  • Loading branch information
tekoiv committed Nov 6, 2023
1 parent 8f439cf commit c5abdbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/component/LegInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const LegInfo = (
</div>
)}
{capacity && (
<span
<button
className="capacity-icon-container"
onClick={() => setCapacityModalOpen(true)}
>
Expand All @@ -93,7 +93,7 @@ const LegInfo = (
img={`icon-icon_${capacity}`}
color={config.colors.primary}
/>
</span>
</button>
)}
{displayTime && (
<>
Expand Down

0 comments on commit c5abdbb

Please sign in to comment.