Skip to content

Commit

Permalink
Fix primefaces#5804: AccordionTab PT error
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed May 2, 2024
1 parent 87f61b4 commit 96bf828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/accordion/Accordion.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const Accordion = React.forwardRef((inProps, ref) => {
}
};

return mergeProps(ptm(`accordiontab.${key}`, { tab: tabMetaData }), ptm(`accordiontab.${key}`, { tab: tabMetaData }), ptm(`accordiontab.${key}`, tabMetaData), ptmo(getTabProp(tab, 'pt'), key, tabMetaData));
return mergeProps(ptm(`tab.${key}`, { tab: tabMetaData }), ptm(`accordiontab.${key}`, { accordiontab: tabMetaData }), ptm(`accordiontab.${key}`, tabMetaData), ptmo(getTabProp(tab, 'pt'), key, tabMetaData));
};

const onTabHeaderClick = (event, tab, index) => {
Expand Down

0 comments on commit 96bf828

Please sign in to comment.