From c193a2b765e3fbddeddc04422f5bf9d2b22b706e Mon Sep 17 00:00:00 2001 From: gabriel-logan Date: Wed, 29 May 2024 22:47:13 -0300 Subject: [PATCH] fix: SidebarWrapper prop types --- docs/src/components/SidebarWrapper/js/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 });