diff --git a/frontend/src/Cabinet/pages/AvailablePage.tsx b/frontend/src/Cabinet/pages/AvailablePage.tsx index 005484fbe..9ec0be173 100644 --- a/frontend/src/Cabinet/pages/AvailablePage.tsx +++ b/frontend/src/Cabinet/pages/AvailablePage.tsx @@ -29,6 +29,7 @@ const toggleList: toggleItem[] = [ { name: "공유", key: AvailableCabinetsType.SHARE }, ]; +/* TODO: DISABLED_FLOOR 을 환경변수로 넣기 */ export const DISABLED_FLOOR = ["4"]; const AvailablePage = () => { diff --git a/frontend/src/Cabinet/pages/MainPage.tsx b/frontend/src/Cabinet/pages/MainPage.tsx index ce6e230c9..0901deb30 100644 --- a/frontend/src/Cabinet/pages/MainPage.tsx +++ b/frontend/src/Cabinet/pages/MainPage.tsx @@ -155,7 +155,7 @@ const MainPage = () => { {currentSectionName !== SectionType.elevator && currentSectionName !== SectionType.stairs && - currentFloor !== 4 && ( + !DISABLED_FLOOR.includes(currentFloor.toString()) && (