Skip to content

Commit

Permalink
Update tabs.lite.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke authored Jul 9, 2024
1 parent 2e4d4b9 commit 744e940
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/src/components/tabs/tabs.lite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ export default function DBTabs(props: DBTabsProps) {
);
for (const panel of tabPanels) {
if (panel.id) continue;
const index: number = tabPanels.indexOf(panel);
panel.id = `${state._name}-tab-panel-${index}`;
panel.setAttribute(
'aria-labelledby',
Expand Down

0 comments on commit 744e940

Please sign in to comment.