Skip to content

Commit 763ae0a

Browse files
committed
Fix env name
1 parent fcc2fa6 commit 763ae0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-server/src/ReactFlightServer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2774,7 +2774,7 @@ function emitErrorChunk(
27742774
if (__DEV__) {
27752775
let message;
27762776
let stack = '';
2777-
let env = request.environmentName;
2777+
let env = request.environmentName();
27782778
try {
27792779
if (error instanceof Error) {
27802780
// eslint-disable-next-line react-internal/safe-string-coercion

0 commit comments

Comments
 (0)