Skip to content

Commit

Permalink
[FE] FIX: 4층 접근 시 map 은 2층을 default로 #1703
Browse files Browse the repository at this point in the history
  • Loading branch information
seonmiki committed Nov 17, 2024
1 parent ebacec3 commit 4da08e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/Cabinet/components/MapInfo/MapInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const MapInfo = ({
style={{ width: "24px", cursor: "pointer" }}
/>
</HeaderStyled>
<MapFloorSelect floor={floor} setFloor={setFloor} floorInfo={floorInfo} />
<MapGrid floor={floor} />
<MapFloorSelect floor={floor === 4 ? 2 : floor} setFloor={setFloor} floorInfo={floorInfo} />
<MapGrid floor={floor === 4 ? 2 : floor} />
</MapInfoContainerStyled>
);
};
Expand Down

0 comments on commit 4da08e4

Please sign in to comment.