feat(SW-552): syntax change

This commit is contained in:
Fredrik Thorsson
2024-10-21 14:54:31 +02:00
parent 8d4d95ac31
commit 5c113a8c66

View File

@@ -45,9 +45,9 @@ export default function Sidebar({
} }
} }
function handlePoiClick(poiName: string, coordinates: Coordinates) { function handlePoiClick(poiName: string, poiCoordinates: Coordinates) {
onActivePoiChange(activePoi === poiName ? null : poiName) onActivePoiChange(activePoi === poiName ? null : poiName)
moveToPoi(coordinates) moveToPoi(poiCoordinates)
toggleFullScreenSidebar() toggleFullScreenSidebar()
} }