File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -382,7 +382,6 @@ export function jsxProdSignatureRunningInDevWithDynamicChildren(
382
382
if ( __DEV__ ) {
383
383
const isStaticChildren = false ;
384
384
const trackActualOwner =
385
- __DEV__ &&
386
385
ReactSharedInternals . recentlyCreatedOwnerStacks ++ < ownerStackLimit ;
387
386
return jsxDEVImpl (
388
387
type ,
@@ -391,14 +390,12 @@ export function jsxProdSignatureRunningInDevWithDynamicChildren(
391
390
isStaticChildren ,
392
391
source ,
393
392
self ,
394
- __DEV__ &&
395
- ( trackActualOwner
393
+ trackActualOwner
396
394
? Error ( 'react-stack-top-frame' )
397
- : unknownOwnerDebugStack ) ,
398
- __DEV__ &&
399
- ( trackActualOwner
395
+ : unknownOwnerDebugStack ,
396
+ trackActualOwner
400
397
? createTask ( getTaskName ( type ) )
401
- : unknownOwnerDebugTask ) ,
398
+ : unknownOwnerDebugTask ,
402
399
) ;
403
400
}
404
401
}
You can’t perform that action at this time.
0 commit comments