From cef7ceb2c977304aaf671c4fa503ed79402aebf1 Mon Sep 17 00:00:00 2001 From: Cristhian Zanforlin Lousa Date: Tue, 18 Jul 2023 10:44:08 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(AccordionComponent):=20chang?= =?UTF-8?q?e=20comparison=20operator=20from=20'=3D=3D'=20to=20'=3D=3D=3D'?= =?UTF-8?q?=20to=20ensure=20strict=20equality=20comparison?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/src/components/AccordionComponent/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/components/AccordionComponent/index.tsx b/src/frontend/src/components/AccordionComponent/index.tsx index 5f5c61b2f..7212e6a1b 100644 --- a/src/frontend/src/components/AccordionComponent/index.tsx +++ b/src/frontend/src/components/AccordionComponent/index.tsx @@ -29,7 +29,7 @@ export default function AccordionComponent({ } function handleClick() { - value == "" ? setValue(keyValue) : setValue(""); + value === "" ? setValue(keyValue) : setValue(""); } return (