mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Add back accidentally deleted break to prevent fallthrough
This commit is contained in:
@@ -684,6 +684,7 @@ function completeWork(
|
||||
break;
|
||||
}
|
||||
case ForwardRef:
|
||||
break;
|
||||
case SuspenseComponent: {
|
||||
const nextState = workInProgress.memoizedState;
|
||||
const prevState = current !== null ? current.memoizedState : null;
|
||||
|
||||
Reference in New Issue
Block a user