Skip to content

Commit 7b858bd

Browse files
committed
Improve error message for missing context
1 parent e8a502f commit 7b858bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/use-intl/src/react/useIntlContext.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default function useIntlContext() {
77
if (!context) {
88
throw new Error(
99
process.env.NODE_ENV !== 'production'
10-
? 'No intl context found. Have you configured the provider?'
10+
? 'No intl context found. Have you configured the provider? See https://next-intl-docs.vercel.app/docs/usage/configuration#client-server-components'
1111
: undefined
1212
);
1313
}

0 commit comments

Comments
 (0)