🐛 fix(AccordionComponent): change comparison operator from '==' to '===' to ensure strict equality comparison

This commit is contained in:
Cristhian Zanforlin Lousa 2023-07-18 10:44:08 -03:00
commit cef7ceb2c9

View file

@ -29,7 +29,7 @@ export default function AccordionComponent({
}
function handleClick() {
value == "" ? setValue(keyValue) : setValue("");
value === "" ? setValue(keyValue) : setValue("");
}
return (