Skip to content

Commit

Permalink
replacing -1 with unintialized
Browse files Browse the repository at this point in the history
  • Loading branch information
Biki-das committed Sep 24, 2021
1 parent 1c73cee commit a3b8e05
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 a3b8e05

Please sign in to comment.