Skip to content

Commit 3746eaf

Browse files
authored
Packages/React/src/ReactLazy ---> changing -1 to unintialized (#22421)
1 parent 04ccc01 commit 3746eaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/src/ReactLazy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export function lazy<T>(
123123
): LazyComponent<T, Payload<T>> {
124124
const payload: Payload<T> = {
125125
// We use these fields to store the result.
126-
_status: -1,
126+
_status: Uninitialized,
127127
_result: ctor,
128128
};
129129

0 commit comments

Comments
 (0)