diff --git a/packages/react-reconciler/src/ReactFiberUnwindWork.js b/packages/react-reconciler/src/ReactFiberUnwindWork.js index 86e2b1a964a39..f8c0b050f04a5 100644 --- a/packages/react-reconciler/src/ReactFiberUnwindWork.js +++ b/packages/react-reconciler/src/ReactFiberUnwindWork.js @@ -214,7 +214,8 @@ function throwException( // attach another listener to flip the boundary back to its normal state. const thenables: Set = (workInProgress.updateQueue: any); if (thenables === null) { - workInProgress.updateQueue = (new Set([thenable]): any); + workInProgress.updateQueue = (new Set(): any); + workInProgress.updateQueue.add(thenable); } else { thenables.add(thenable); }