We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0dc05b commit deff86aCopy full SHA for deff86a
src/components/AccordionItem.tsx
@@ -24,7 +24,7 @@ const AccordionItem = ({
24
...rest
25
}: Props): JSX.Element => {
26
const [instanceUuid] = useState<UUID>(nextUuid());
27
- const uuid = customUuid || instanceUuid;
+ const uuid = customUuid ?? instanceUuid;
28
29
const renderChildren = (itemContext: ItemContext): JSX.Element => {
30
const { expanded } = itemContext;
0 commit comments