Skip to content

Commit 98c2891

Browse files
authored
Found explicit type declarations - anti pattern
1 parent d9b49f7 commit 98c2891

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)