Skip to content

Commit

Permalink
Rename error
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Silbermann <[email protected]>
  • Loading branch information
sebmarkbage and eps1lon authored Jul 2, 2024
1 parent 30f3e83 commit 9b29577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-server/src/ReactFizzServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ function pushServerComponentStack(
if (!__DEV__) {
// eslint-disable-next-line react-internal/prod-error-codes
throw new Error(
'createServerComponentStack should never be called in production. This is a bug in React.',
'pushServerComponentStack should never be called in production. This is a bug in React.',
);
}
// Build a Server Component parent stack from the debugInfo.
Expand Down

0 comments on commit 9b29577

Please sign in to comment.