We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64a8fe1 commit 0139c84Copy full SHA for 0139c84
src/components/TableOfContents/TableOfContentsLink.tsx
@@ -4,8 +4,6 @@ import type { ToCItem } from "@/lib/types"
4
5
import { BaseLink } from "@/components/Link"
6
7
-import { useRtlFlip } from "@/hooks/useRtlFlip"
8
-
9
export type TableOfContentsLinkProps = {
10
depth: number
11
item: ToCItem
@@ -17,7 +15,6 @@ const Link = ({
17
15
item: { title, url },
18
16
activeHash,
19
}: TableOfContentsLinkProps) => {
20
- const { flipForRtl } = useRtlFlip()
21
const isActive = activeHash === url
22
const isNested = depth === 2
23
0 commit comments