File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/react-reconciler/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ export function computeExpirationForFiber(
274
274
// Compute an expiration time based on the Suspense timeout.
275
275
expirationTime = computeSuspenseExpiration (
276
276
currentTime ,
277
- suspenseConfig . timeoutMs | 0 ,
277
+ suspenseConfig . timeoutMs | 0 || LOW_PRIORITY_EXPIRATION ,
278
278
) ;
279
279
} else {
280
280
// Compute an expiration time based on the Scheduler priority.
@@ -1031,7 +1031,7 @@ function inferTimeFromExpirationTime(
1031
1031
return (
1032
1032
earliestExpirationTimeMs -
1033
1033
( suspenseConfig !== null
1034
- ? suspenseConfig . timeoutMs | 0
1034
+ ? suspenseConfig . timeoutMs | 0 || LOW_PRIORITY_EXPIRATION
1035
1035
: LOW_PRIORITY_EXPIRATION )
1036
1036
) ;
1037
1037
}
You can’t perform that action at this time.
0 commit comments