Skip to content

Commit 46d568c

Browse files
authored
docs: Fix typo (#1750)
there seems to be a minor error in the getting started page, in the provided page.tsx file for `src\app\[locale]` it tries to import: ```ts import { Link } from "@/i18n/routing"; ``` which does not exist, instead it exists in the navigation file" ```ts import { Link } from "@/i18n/navigation";` ```
1 parent 96b2cf4 commit 46d568c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/pages/docs/getting-started/app-router/with-i18n-routing.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ Now you can use translations and other functionality from `next-intl` in your co
237237

238238
```tsx filename="app/[locale]/page.tsx"
239239
import {useTranslations} from 'next-intl';
240-
import {Link} from '@/i18n/routing';
240+
import {Link} from '@/i18n/navigation';
241241

242242
export default function HomePage() {
243243
const t = useTranslations('HomePage');

0 commit comments

Comments
 (0)