Skip to content

Commit 9b29577

Browse files
sebmarkbageeps1lon
andauthored
Rename error
Co-authored-by: Sebastian Silbermann <[email protected]>
1 parent 30f3e83 commit 9b29577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-server/src/ReactFizzServer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ function pushServerComponentStack(
907907
if (!__DEV__) {
908908
// eslint-disable-next-line react-internal/prod-error-codes
909909
throw new Error(
910-
'createServerComponentStack should never be called in production. This is a bug in React.',
910+
'pushServerComponentStack should never be called in production. This is a bug in React.',
911911
);
912912
}
913913
// Build a Server Component parent stack from the debugInfo.

0 commit comments

Comments
 (0)