diff --git a/packages/shared/ReactTypeOfWork.js b/packages/shared/ReactTypeOfWork.js index 4b3cfe80e167..601d34a95e4f 100644 --- a/packages/shared/ReactTypeOfWork.js +++ b/packages/shared/ReactTypeOfWork.js @@ -26,11 +26,11 @@ export type TypeOfWork = | 15 | 16; -export const IndeterminateComponent = 0; // Before we know whether it is functional or class -export const FunctionalComponent = 1; -export const FunctionalComponentLazy = 2; -export const ClassComponent = 3; -export const ClassComponentLazy = 4; +export const FunctionalComponent = 0; +export const FunctionalComponentLazy = 1; +export const ClassComponent = 2; +export const ClassComponentLazy = 3; +export const IndeterminateComponent = 4; // Before we know whether it is functional or class export const HostRoot = 5; // Root of a host tree. Could be nested inside another node. export const HostPortal = 6; // A subtree. Could be an entry point to a different renderer. export const HostComponent = 7;