Skip to content

Commit 0139c84

Browse files
committed
cleanup
1 parent 64a8fe1 commit 0139c84

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/components/TableOfContents/TableOfContentsLink.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import type { ToCItem } from "@/lib/types"
44

55
import { BaseLink } from "@/components/Link"
66

7-
import { useRtlFlip } from "@/hooks/useRtlFlip"
8-
97
export type TableOfContentsLinkProps = {
108
depth: number
119
item: ToCItem
@@ -17,7 +15,6 @@ const Link = ({
1715
item: { title, url },
1816
activeHash,
1917
}: TableOfContentsLinkProps) => {
20-
const { flipForRtl } = useRtlFlip()
2118
const isActive = activeHash === url
2219
const isNested = depth === 2
2320

0 commit comments

Comments
 (0)