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:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user