Skip to content

Commit

Permalink
Update packages/components/src/components/accordion/accordion.lite.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Maximilian Franzke <[email protected]>
  • Loading branch information
nmerget and mfranzke authored Nov 19, 2024
1 parent 87c1e7b commit d70f0f1
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ export default function DBAccordion(props: DBAccordionProps) {
childDetails
)) {
if (state._name === '') {
if (details.hasAttribute('name')) {
details.removeAttribute('name');
}
details.removeAttribute('name');
} else {
details.name = state._name;
}
Expand Down

0 comments on commit d70f0f1

Please sign in to comment.