diff --git a/src/components/AccordionItem.tsx b/src/components/AccordionItem.tsx index 35ad7df..3a719f1 100644 --- a/src/components/AccordionItem.tsx +++ b/src/components/AccordionItem.tsx @@ -24,7 +24,7 @@ const AccordionItem = ({ ...rest }: Props): JSX.Element => { const [instanceUuid] = useState(nextUuid()); - const uuid = customUuid || instanceUuid; + const uuid = customUuid ?? instanceUuid; const renderChildren = (itemContext: ItemContext): JSX.Element => { const { expanded } = itemContext;