From b500a4927f694f319e6611d85b9239aa9e99157c Mon Sep 17 00:00:00 2001 From: Daniel Heppner Date: Tue, 24 Oct 2023 15:29:48 -0700 Subject: [PATCH] fix(stops-overlay): fix memoization on highlighted stop --- packages/stops-overlay/src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/stops-overlay/src/index.tsx b/packages/stops-overlay/src/index.tsx index d28821a66..f85c64d91 100644 --- a/packages/stops-overlay/src/index.tsx +++ b/packages/stops-overlay/src/index.tsx @@ -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.