File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/react-client/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1780,14 +1780,14 @@ function transferReferencedDebugInfo(
17801780 ) {
17811781 // We should maybe use a unique symbol for arrays but this is a React owned array.
17821782 // $FlowFixMe[prop-missing]: This should be added to elements.
1783- const existingDebugInfo : void | ReactDebugInfo =
1783+ const existingDebugInfo : ? ReactDebugInfo =
17841784 ( referencedValue . _debugInfo : any ) ;
1785- if ( ! existingDebugInfo ) {
1785+ if ( existingDebugInfo == null ) {
17861786 Object . defineProperty ( ( referencedValue : any ) , '_debugInfo' , {
17871787 configurable : false ,
17881788 enumerable : false ,
17891789 writable : true ,
1790- value : referencedDebugInfo ,
1790+ value : referencedDebugInfo . slice ( 0 ) ,
17911791 } ) ;
17921792 } else {
17931793 // $FlowFixMe[method-unbinding]
You can’t perform that action at this time.
0 commit comments