From 52581071944d39467304a5e63006ce0931e780c6 Mon Sep 17 00:00:00 2001 From: Lanskikh Date: Tue, 22 Jul 2025 10:35:01 +0500 Subject: [PATCH] upd --- .env | 4 ++-- src/components/FloorSelect.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env b/.env index e9e9623..67c1687 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ -VITE_API_URL=http://localhost:4002 +# VITE_API_URL=http://localhost:4002 # VITE_API_URL=http://192.168.1.144:4002 # VITE_API_URL=http://194.26.138.94:4002 # VITE_API_URL=https://irthtest.online/api -# VITE_API_URL=https://irth.graff.estate/api \ No newline at end of file +VITE_API_URL=https://irth.graff.estate/api \ No newline at end of file diff --git a/src/components/FloorSelect.tsx b/src/components/FloorSelect.tsx index 6fa679a..d605515 100644 --- a/src/components/FloorSelect.tsx +++ b/src/components/FloorSelect.tsx @@ -722,7 +722,7 @@ function FloorSelect({ : SPECIAL_FLOORS.includes(hoveredFloor) ? hoveredFloor : hoveredFloor.split(" ").at(-1)!)) || - selectedFloor === floorTitle.split(" ").at(-1)!) && + selectedFloor?.split(" ").at(-1) === floorTitle) && "fill-[#00BED7]" )} />