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 12, 2024
1 parent 4bcac7e commit a3d6ef2
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 @@ -2776,7 +2776,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 a3d6ef2

Please sign in to comment.