fix(SW-3203): Added property id to pointOfInterestSchema to handle identical names

Approved-by: Matilda Landström
Approved-by: Chuma Mcphoy (We Ahead)
This commit is contained in:
Erik Tiekstra
2025-08-26 05:58:25 +00:00
parent 091c46f85c
commit 8180271b0f
4 changed files with 29 additions and 34 deletions

View File

@@ -1,10 +0,0 @@
import type { PointOfInterest } from "@scandic-hotels/trpc/types/hotel"
import type { Coordinates } from "../../maps/coordinates"
export interface SidebarProps {
hotelName: string
pointsOfInterest: PointOfInterest[]
activePoi: PointOfInterest["name"] | null
onActivePoiChange: (poi: PointOfInterest["name"] | null) => void
coordinates: Coordinates
}