Skip to content

Commit

Permalink
Move misaligned comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmarkbage committed Jul 12, 2019
1 parent 8039935 commit d52bc4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-reconciler/src/ReactFiberBeginWork.js
Original file line number Diff line number Diff line change
Expand Up @@ -2242,10 +2242,10 @@ function updateSuspenseListComponent(
pushSuspenseContext(workInProgress, suspenseContext);

if ((workInProgress.mode & BatchedMode) === NoMode) {
workInProgress.memoizedState = null;
} else {
// Outside of batched mode, SuspenseList doesn't work so we just
// use make it a noop by treating it as the default revealOrder.
workInProgress.memoizedState = null;
} else {
switch (revealOrder) {
case 'forwards': {
let lastContentRow = findLastContentRow(workInProgress.child);
Expand Down

0 comments on commit d52bc4b

Please sign in to comment.