Skip to content

Commit

Permalink
Fix env name
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmarkbage committed Jun 26, 2024
1 parent fcc2fa6 commit 763ae0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-server/src/ReactFlightServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2774,7 +2774,7 @@ function emitErrorChunk(
if (__DEV__) {
let message;
let stack = '';
let env = request.environmentName;
let env = request.environmentName();
try {
if (error instanceof Error) {
// eslint-disable-next-line react-internal/safe-string-coercion
Expand Down

0 comments on commit 763ae0a

Please sign in to comment.