File tree 2 files changed +0
-16
lines changed
packages/react-reconciler/src
2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -168,14 +168,6 @@ export function scheduleContextWorkOnParentPath(
168
168
if (node === propagationRoot) {
169
169
break ;
170
170
}
171
- if (__DEV__) {
172
- if ( node === propagationRoot . alternate ) {
173
- console . error (
174
- 'Did not expect to encounter a propagation root alternate when scheduling context work. ' +
175
- 'This error is likely caused by a bug in React. Please file an issue.' ,
176
- ) ;
177
- }
178
- }
179
171
node = node.return;
180
172
}
181
173
if ( __DEV__ ) {
Original file line number Diff line number Diff line change @@ -168,14 +168,6 @@ export function scheduleContextWorkOnParentPath(
168
168
if (node === propagationRoot) {
169
169
break ;
170
170
}
171
- if (__DEV__) {
172
- if ( node === propagationRoot . alternate ) {
173
- console . error (
174
- 'Did not expect to encounter a propagation root alternate when scheduling context work. ' +
175
- 'This error is likely caused by a bug in React. Please file an issue.' ,
176
- ) ;
177
- }
178
- }
179
171
node = node.return;
180
172
}
181
173
if ( __DEV__ ) {
You can’t perform that action at this time.
0 commit comments