Skip to content

Commit

Permalink
fix: SidebarWrapper prop types
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-logan committed May 30, 2024
1 parent 78129dc commit c193a2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/components/SidebarWrapper/js/index.tsx
Original file line number Diff line number Diff line change
@@ -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 });

Expand Down

0 comments on commit c193a2b

Please sign in to comment.