Skip to content

Commit 399f42f

Browse files
committed
fix: log error
1 parent ba5c443 commit 399f42f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/DocsNav.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ import { useRouter } from "next/router"
22
import { useTranslation } from "next-i18next"
33
import { FaChevronLeft, FaChevronRight } from "react-icons/fa"
44

5+
import { TranslationKey } from "@/lib/types"
6+
import type { DeveloperDocsLink } from "@/lib/interfaces"
7+
58
import { BaseLink } from "@/components/Link"
69
import Text from "@/components/OldText"
710

@@ -26,7 +29,7 @@ const TextDiv = ({ children, className, ...props }) => (
2629

2730
type DocsArrayProps = {
2831
href: string
29-
id: string
32+
id: TranslationKey
3033
}
3134

3235
type CardLinkProps = {

0 commit comments

Comments
 (0)