diff --git a/examples/example-app-router-mixed-routing/src/i18n/routing.public.ts b/examples/example-app-router-mixed-routing/src/i18n/routing.public.ts index 1a5bcafe9..f7042682b 100644 --- a/examples/example-app-router-mixed-routing/src/i18n/routing.public.ts +++ b/examples/example-app-router-mixed-routing/src/i18n/routing.public.ts @@ -1,4 +1,4 @@ -import {createSharedPathnamesNavigation} from 'next-intl/navigation'; +import {createNavigation} from 'next-intl/navigation'; import {defineRouting} from 'next-intl/routing'; import {defaultLocale, locales} from '../config'; @@ -8,4 +8,4 @@ export const routing = defineRouting({ }); // Should only be used on public routes in the `[locale]` segment -export const {Link, usePathname} = createSharedPathnamesNavigation(routing); +export const {Link, usePathname} = createNavigation(routing);