Skip to content

Commit a3d6ef2

Browse files
committed
Fix env name
1 parent 4bcac7e commit a3d6ef2

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
@@ -2776,7 +2776,7 @@ function emitErrorChunk(
27762776
if (__DEV__) {
27772777
let message;
27782778
let stack = '';
2779-
let env = request.environmentName;
2779+
let env = request.environmentName();
27802780
try {
27812781
if (error instanceof Error) {
27822782
// eslint-disable-next-line react-internal/safe-string-coercion

0 commit comments

Comments
 (0)