diff --git a/docs/src/components/SidebarWrapper/js/index.tsx b/docs/src/components/SidebarWrapper/js/index.tsx index a36eb47..62bb026 100644 --- a/docs/src/components/SidebarWrapper/js/index.tsx +++ b/docs/src/components/SidebarWrapper/js/index.tsx @@ -1,9 +1,9 @@ import Link from "next/link"; import { usePathname } from "next/navigation"; -import translation from "@/components/Internationalization"; +import translation, { Langs } from "@/components/Internationalization"; -export default function SidebarWrapper({ locale }: { locale?: string }) { +export default function SidebarWrapper({ locale }: { locale?: Langs }) { const t = (text: string) => translation({ text, subject: "SidebarWrapperJs", language: locale });