diff --git a/carbon/components/cards/ChartCard/index.tsx b/carbon/components/cards/ChartCard/index.tsx index 6c9c7089ba..78839fa2f6 100644 --- a/carbon/components/cards/ChartCard/index.tsx +++ b/carbon/components/cards/ChartCard/index.tsx @@ -84,7 +84,7 @@ export default function ChartCard( cardHeaderTitleStyle = `${cardHeaderTitleStyle} ${styles.cardHeaderTitleNoGrow}`; /** Returns the chart to display given the chosen options - If the the chart attribute is filled, it is that chart. + If the chart attribute is filled, it is that chart. If the charts attribute if filled, it is the chart that is referenced by the key : `$t{topOptionKey}|$t{bottomOptionKey}` if both options are provided topOptionKey if only topOptionKey is provided diff --git a/carbon/components/pages/PageWithTabs/index.tsx b/carbon/components/pages/PageWithTabs/index.tsx index 5070564139..f268af5500 100644 --- a/carbon/components/pages/PageWithTabs/index.tsx +++ b/carbon/components/pages/PageWithTabs/index.tsx @@ -78,7 +78,7 @@ export default function PageWithTabs(props: { } /** Returns the tab to display given the chosen options - If the the chart attribute is filled, it is that chart. + If the chart attribute is filled, it is that chart. If the charts attribute if filled, it is the chart that is referenced by the key : `$t{topOptionKey}|$t{bottomOptionKey}` if both options are provided topOptionKey if only topOptionKey is provided