mirror of
https://github.com/facebook/react.git
synced 2026-02-24 20:53:03 +00:00
Removed no-longer-necessary comment
This commit is contained in:
@@ -105,7 +105,6 @@ exports.getMaskedContext = function(
|
||||
if (__DEV__) {
|
||||
const name = getComponentName(workInProgress) || 'Unknown';
|
||||
ReactDebugCurrentFrame.current = workInProgress;
|
||||
// $FlowFixMe - We know this export exists now, need to wait for Flow update
|
||||
checkPropTypes(
|
||||
contextTypes,
|
||||
context,
|
||||
@@ -219,7 +218,6 @@ function processChildContext(
|
||||
// TODO: remove this hack when we delete unstable_renderSubtree in Fiber.
|
||||
const workInProgress = isReconciling ? fiber : null;
|
||||
ReactDebugCurrentFrame.current = workInProgress;
|
||||
// $FlowFixMe - We know this export exists now, need to wait for Flow update
|
||||
checkPropTypes(
|
||||
childContextTypes,
|
||||
childContext,
|
||||
|
||||
Reference in New Issue
Block a user