From 96bf8289d27dde41d5db817facdf3c32c772ef8d Mon Sep 17 00:00:00 2001 From: melloware Date: Thu, 2 May 2024 08:07:55 -0400 Subject: [PATCH] Fix #5804: AccordionTab PT error --- components/lib/accordion/Accordion.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/accordion/Accordion.js b/components/lib/accordion/Accordion.js index e06d91f752..85bf9e2b2e 100644 --- a/components/lib/accordion/Accordion.js +++ b/components/lib/accordion/Accordion.js @@ -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) => {