Skip to content

Commit

Permalink
tweak: use unique id for key instead of possibly duplicate stopname (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahpurcell authored Oct 22, 2024
1 parent 04ffbb9 commit b50ae39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/src/components/detours/detourMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export const DetourMap = ({
<>
{uniqBy(stops, (stop) => stop.id).map((stop) => (
<StopMarkerWithStopCard
key={stop.name}
key={stop.id}
stop={stop}
zoomLevel={zoomLevel}
interactionStatesDisabled={false}
Expand Down

0 comments on commit b50ae39

Please sign in to comment.