From 37fa31ada36ce17243c37b2bd9fe3ffadb19196d Mon Sep 17 00:00:00 2001 From: jiminChoi Date: Mon, 28 Oct 2024 16:36:37 +0900 Subject: [PATCH] =?UTF-8?q?[FE]=20HOTFIX:=20=EA=B3=B5=EC=9C=A0=EC=82=AC?= =?UTF-8?q?=EB=AC=BC=ED=95=A8=20=EB=8C=80=EA=B8=B0=EC=A4=91=20=EC=97=B0?= =?UTF-8?q?=EC=9E=A5=EA=B6=8C=EC=9D=B4=20=EC=82=AC=EC=9A=A9=EB=90=98?= =?UTF-8?q?=EB=8A=94=20=EB=B2=84=EA=B7=B8=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/Cabinet/components/CabinetInfoArea/CabinetInfoArea.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/Cabinet/components/CabinetInfoArea/CabinetInfoArea.tsx b/frontend/src/Cabinet/components/CabinetInfoArea/CabinetInfoArea.tsx index 9159f504c..6830f6e62 100644 --- a/frontend/src/Cabinet/components/CabinetInfoArea/CabinetInfoArea.tsx +++ b/frontend/src/Cabinet/components/CabinetInfoArea/CabinetInfoArea.tsx @@ -51,8 +51,7 @@ const CabinetInfoArea: React.FC<{ closeModal, isSwappable, }) => { - const isExtensionVisible = isMine && selectedCabinetInfo; - // selectedCabinetInfo.status !== "IN_SESSION"; + const isExtensionVisible = isMine && selectedCabinetInfo && selectedCabinetInfo.status !== "IN_SESSION"; const isHoverBoxVisible = selectedCabinetInfo && selectedCabinetInfo.lentsLength <= 1 &&