Skip to content

Commit

Permalink
Merge pull request ethereum#7387 from LucidSamuel/patch-3
Browse files Browse the repository at this point in the history
Found explicit type declarations - anti pattern
  • Loading branch information
corwintines authored Aug 11, 2022
2 parents 6175919 + 98c2891 commit e36b2ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/UpgradeTableOfContents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const TableOfContentsLink: React.FC<IPropsTableOfContentsLink> = ({
isActive = window.location.hash === url
}
const isNested: boolean = depth === 2
let classes: string = ""
let classes = ""
if (isActive) {
classes += " active"
}
Expand Down

0 comments on commit e36b2ba

Please sign in to comment.