Skip to content

Commit

Permalink
fix(stops-overlay): fix memoization on highlighted stop
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-heppner-ibigroup committed Oct 25, 2023
1 parent 52cdc89 commit b500a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/stops-overlay/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const StopsOverlay = (props: Props): JSX.Element => {
geometry: { type: "Point", coordinates: [stop.lon, stop.lat] }
}))
}),
[stops]
[stops, highlightedStop]
);

// Don't render if no map or no stops are defined.
Expand Down

0 comments on commit b500a49

Please sign in to comment.