Skip to content

Commit

Permalink
Packages/React/src/ReactLazy ---> changing -1 to unintialized (#22421)
Browse files Browse the repository at this point in the history
  • Loading branch information
Biki-das authored Sep 24, 2021
1 parent 04ccc01 commit 3746eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/ReactLazy.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export function lazy<T>(
): LazyComponent<T, Payload<T>> {
const payload: Payload<T> = {
// We use these fields to store the result.
_status: -1,
_status: Uninitialized,
_result: ctor,
};

Expand Down

0 comments on commit 3746eaf

Please sign in to comment.