Skip to content

Commit e36b2ba

Browse files
authored
Merge pull request #7387 from LucidSamuel/patch-3
Found explicit type declarations - anti pattern
2 parents 6175919 + 98c2891 commit e36b2ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/UpgradeTableOfContents.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const TableOfContentsLink: React.FC<IPropsTableOfContentsLink> = ({
7979
isActive = window.location.hash === url
8080
}
8181
const isNested: boolean = depth === 2
82-
let classes: string = ""
82+
let classes = ""
8383
if (isActive) {
8484
classes += " active"
8585
}

0 commit comments

Comments
 (0)