Skip to content

Commit

Permalink
docs: fix activated state on table pf content (#8031)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackySoul authored and actions-user committed Dec 3, 2024
1 parent 90bb0cc commit ceafdfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion styleguide/Components/TableOfContents/TableOfContents.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ class TableOfContents extends React.PureComponent {
onClick={!section.href ? this.onExpandCellClick : undefined}
data-section-name={section.name}
className="TableOfContents__section"
hovered={section.name === this.state.currentSectionName}
activated={section.name === this.state.currentSectionName || undefined}
indicator={section.deprecated && <Caption level="2">deprecated</Caption>}
>
{section.title || section.name}
Expand Down

0 comments on commit ceafdfe

Please sign in to comment.