🐛 fix(AccordionComponent): change comparison operator from '==' to '===' to ensure strict equality comparison
This commit is contained in:
parent
40b656c8d4
commit
cef7ceb2c9
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ export default function AccordionComponent({
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleClick() {
|
function handleClick() {
|
||||||
value == "" ? setValue(keyValue) : setValue("");
|
value === "" ? setValue(keyValue) : setValue("");
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue