From 7c5b3bc90d88832af60f4e95941bd3d776921650 Mon Sep 17 00:00:00 2001 From: Shu Ding Date: Sat, 26 Nov 2022 18:26:02 +0100 Subject: [PATCH] fix typo --- .../build/webpack/plugins/wellknown-errors-plugin/parseRSC.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next/build/webpack/plugins/wellknown-errors-plugin/parseRSC.ts b/packages/next/build/webpack/plugins/wellknown-errors-plugin/parseRSC.ts index ff290b308065..21ff31b30b95 100644 --- a/packages/next/build/webpack/plugins/wellknown-errors-plugin/parseRSC.ts +++ b/packages/next/build/webpack/plugins/wellknown-errors-plugin/parseRSC.ts @@ -66,7 +66,7 @@ function formatRSCErrorMessage(message: string): null | [string, string] { } else if (NEXT_RSC_ERR_INVALID_API.test(message)) { formattedMessage = message.replace( NEXT_RSC_ERR_INVALID_API, - `\n\n"$1" is not support in app/. Read more: https://beta.nextjs.org/docs/data-fetching/fundamentals\n\n` + `\n\n"$1" is not supported in app/. Read more: https://beta.nextjs.org/docs/data-fetching/fundamentals\n\n` ) formattedVerboseMessage = '\n\nFile path:\n' }