Skip to content

Commit

Permalink
fix: link inserting locale
Browse files Browse the repository at this point in the history
  • Loading branch information
darklight9811 committed Sep 5, 2024
1 parent b081668 commit 5e5f3f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/app/src/lib/navigation.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { createSharedPathnamesNavigation } from "next-intl/navigation";
export { default as Link } from "next/link"

export const locales = ["en-US", "pt-BR"] as const;
export const localePrefix = "never";

export const { Link, redirect, usePathname, useRouter } =
export const { redirect, usePathname, useRouter } =
createSharedPathnamesNavigation({ locales });

0 comments on commit 5e5f3f1

Please sign in to comment.