Removed no-longer-necessary comment

This commit is contained in:
Brian Vaughn
2017-04-11 13:38:17 -07:00
parent afdc9d27ce
commit d1348b9374
@@ -105,7 +105,6 @@ exports.getMaskedContext = function(
if (__DEV__) { if (__DEV__) {
const name = getComponentName(workInProgress) || 'Unknown'; const name = getComponentName(workInProgress) || 'Unknown';
ReactDebugCurrentFrame.current = workInProgress; ReactDebugCurrentFrame.current = workInProgress;
// $FlowFixMe - We know this export exists now, need to wait for Flow update
checkPropTypes( checkPropTypes(
contextTypes, contextTypes,
context, context,
@@ -219,7 +218,6 @@ function processChildContext(
// TODO: remove this hack when we delete unstable_renderSubtree in Fiber. // TODO: remove this hack when we delete unstable_renderSubtree in Fiber.
const workInProgress = isReconciling ? fiber : null; const workInProgress = isReconciling ? fiber : null;
ReactDebugCurrentFrame.current = workInProgress; ReactDebugCurrentFrame.current = workInProgress;
// $FlowFixMe - We know this export exists now, need to wait for Flow update
checkPropTypes( checkPropTypes(
childContextTypes, childContextTypes,
childContext, childContext,