mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Removed no-longer-necessary comment
This commit is contained in:
1 parent
afdc9d27ce
commit
d1348b9374
1 file changed
-2
@@ -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