diff --git a/packages/react-server/src/ReactFlightHooks.js b/packages/react-server/src/ReactFlightHooks.js index a9782c712aca2..137e41cb25b00 100644 --- a/packages/react-server/src/ReactFlightHooks.js +++ b/packages/react-server/src/ReactFlightHooks.js @@ -26,7 +26,9 @@ export function resetHooksForRequest() { function readContext(context: ReactServerContext): T { if (__DEV__) { if (context.$$typeof !== REACT_SERVER_CONTEXT_TYPE) { - console.error('Only ServerContext is supported in Flight'); + console.error( + 'Only createServerContext is supported in Server Components.', + ); } if (currentCache === null) { console.error(