Add back accidentally deleted break to prevent fallthrough

This commit is contained in:
Andrew Clark
2018-10-19 22:47:37 -07:00
parent 95a313ec0b
commit e770af7a3a

View File

@@ -684,6 +684,7 @@ function completeWork(
break;
}
case ForwardRef:
break;
case SuspenseComponent: {
const nextState = workInProgress.memoizedState;
const prevState = current !== null ? current.memoizedState : null;