Update src/config.ts
This commit is contained in:
@@ -1,8 +1,2 @@
|
||||
// @ts-ignore
|
||||
import { createSharedPathnamesNavigation } from 'next-intl/navigation';
|
||||
|
||||
export const locales = ['en', 'de'] as const;
|
||||
export const localePrefix = 'always'; // Default
|
||||
|
||||
export const { Link, redirect, usePathname, useRouter } =
|
||||
createSharedPathnamesNavigation({ locales, localePrefix });
|
||||
// @ts-expect-error
|
||||
export const config = {};
|
||||
Reference in New Issue
Block a user