File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
packages/react-reconciler/src Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ import {
39
39
ForceUpdate ,
40
40
enqueueUpdate ,
41
41
} from './ReactUpdateQueue.new' ;
42
- import { getStackByFiberInDevAndProd } from './ReactFiberComponentStack' ;
43
42
import { markFailedErrorBoundaryForHotReloading } from './ReactFiberHotReloading.new' ;
44
43
import {
45
44
suspenseStackCursor ,
@@ -333,8 +332,7 @@ function throwException(
333
332
' suspended while rendering, but no fallback UI was specified.\n' +
334
333
'\n' +
335
334
'Add a <Suspense fallback=...> component higher in the tree to ' +
336
- 'provide a loading indicator or placeholder to display.' +
337
- getStackByFiberInDevAndProd ( sourceFiber ) ,
335
+ 'provide a loading indicator or placeholder to display.' ,
338
336
) ;
339
337
}
340
338
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ import {
40
40
ForceUpdate ,
41
41
enqueueUpdate ,
42
42
} from './ReactUpdateQueue.old' ;
43
- import { getStackByFiberInDevAndProd } from './ReactFiberComponentStack' ;
44
43
import { markFailedErrorBoundaryForHotReloading } from './ReactFiberHotReloading.old' ;
45
44
import {
46
45
suspenseStackCursor ,
@@ -344,8 +343,7 @@ function throwException(
344
343
' suspended while rendering, but no fallback UI was specified.\n' +
345
344
'\n' +
346
345
'Add a <Suspense fallback=...> component higher in the tree to ' +
347
- 'provide a loading indicator or placeholder to display.' +
348
- getStackByFiberInDevAndProd ( sourceFiber ) ,
346
+ 'provide a loading indicator or placeholder to display.' ,
349
347
) ;
350
348
}
351
349
You can’t perform that action at this time.
0 commit comments