File tree Expand file tree Collapse file tree 2 files changed +0
-16
lines changed
packages/react-reconciler/src Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -168,14 +168,6 @@ export function scheduleContextWorkOnParentPath(
168168 if (node === propagationRoot) {
169169 break ;
170170 }
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- }
179171 node = node.return;
180172 }
181173 if ( __DEV__ ) {
Original file line number Diff line number Diff line change @@ -168,14 +168,6 @@ export function scheduleContextWorkOnParentPath(
168168 if (node === propagationRoot) {
169169 break ;
170170 }
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- }
179171 node = node.return;
180172 }
181173 if ( __DEV__ ) {
You can’t perform that action at this time.
0 commit comments