diff --git a/src/components/FloorPopup.tsx b/src/components/FloorPopup.tsx index fc1a9d2..ad298ce 100644 --- a/src/components/FloorPopup.tsx +++ b/src/components/FloorPopup.tsx @@ -21,7 +21,7 @@ function FloorPopup({ title, position }: FloorMarkerProps) {

- {!Number.isNaN(+title) + {Number.isNaN(+title.split(" ").at(-1)!) ? title : `${title.split(" ").at(-1)} floor`}