diff --git a/client/src/pages/sharedTrip/SharedMap.tsx b/client/src/pages/sharedTrip/SharedMap.tsx index 945142bb1..3ed817267 100644 --- a/client/src/pages/sharedTrip/SharedMap.tsx +++ b/client/src/pages/sharedTrip/SharedMap.tsx @@ -123,7 +123,7 @@ export function SharedMap({ places, line, orderByPlace, cartoApiKey, days, selec )} - {selectedDay && line.length > 1 && ( + {selectedDay != null && line.length > 1 && ( [p.lat, p.lng])} // Dashed and straight on purpose: it shows the order of the day's stops,