Skip to content

Commit 1f3b226

Browse files
authored
fix: Update link to migration example in error messages (#648 by @outloudvi)
1 parent 12b0ef7 commit 1f3b226

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/next-intl/src/plugin.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ module.exports = withNextIntl({
5454
function initPlugin(i18nPath?: string, nextConfig?: NextConfig): NextConfig {
5555
if (nextConfig?.i18n != null) {
5656
console.warn(
57-
"\nnext-intl has found an `i18n` config in your next.config.js. This likely causes conflicts and should therefore be removed if you use the App Router.\n\nIf you're in progress of migrating from the `pages` folder, you can refer to this example: https://github.com/amannn/next-intl/tree/main/packages/example-app-router-migration\n"
57+
"\nnext-intl has found an `i18n` config in your next.config.js. This likely causes conflicts and should therefore be removed if you use the App Router.\n\nIf you're in progress of migrating from the `pages` folder, you can refer to this example: https://github.com/amannn/next-intl/tree/main/examples/example-app-router-migration\n"
5858
);
5959
}
6060

0 commit comments

Comments
 (0)