Skip to content

Commit

Permalink
Flow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed May 15, 2019
1 parent 2c9b2df commit 523f00d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-reconciler/src/ReactFiberCommitWork.js
Original file line number Diff line number Diff line change
Expand Up @@ -1335,7 +1335,7 @@ function commitSuspenseComponent(
}
thenables.forEach(thenable => {
// Memoize using the boundary fiber to prevent redundant listeners.
let retry = resolveRetryThenable.bind(null, finishedWork, thenable);
let retry = resolveRetryThenable.bind(null, finishedWork, thenable, finishedRoot, committedExpirationTime);
if (!retryCache.has(thenable)) {
if (enableSchedulerTracing) {
retry = Schedule_tracing_wrap(retry);
Expand Down
2 changes: 1 addition & 1 deletion packages/react-reconciler/src/ReactFiberUnwindWork.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ function throwException(
// Memoize using the boundary fiber to prevent redundant listeners.
if (!retryCache.has(thenable)) {
retryCache.add(thenable);
let retry = resolveRetryThenable.bind(null, workInProgress, thenable);
let retry = resolveRetryThenable.bind(null, workInProgress, thenable, root, renderExpirationTime);
if (enableSchedulerTracing) {
retry = Schedule_tracing_wrap(retry);
}
Expand Down

0 comments on commit 523f00d

Please sign in to comment.