feat(SW-552): syntax change
This commit is contained in:
@@ -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)
|
||||
moveToPoi(coordinates)
|
||||
moveToPoi(poiCoordinates)
|
||||
toggleFullScreenSidebar()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user