File tree Expand file tree Collapse file tree 2 files changed +16
-16
lines changed
packages/react-devtools-shared/src/devtools/views/Components Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 9797}
9898
9999.CollapsableContent {
100- padding : 0.25rem 0 ;
100+ margin-top : - 0.25rem ;
101101}
102102
103103.PreviewContainer {
104- padding : 0 0.25 rem 0.25 rem 0 .25rem ;
104+ padding : 0.25rem ;
105105}
106106
107107.TimeBarContainer {
Original file line number Diff line number Diff line change @@ -146,6 +146,20 @@ function SuspendedByRow({
146146 </ Button >
147147 { isOpen && (
148148 < div className = { styles . CollapsableContent } >
149+ { stack !== null && stack . length > 0 && (
150+ < StackTraceView stack = { stack } />
151+ ) }
152+ { owner !== null && owner . id !== inspectedElement . id ? (
153+ < OwnerView
154+ key = { owner . id }
155+ displayName = { owner . displayName || 'Anonymous' }
156+ hocDisplayNames = { owner . hocDisplayNames }
157+ compiledWithForget = { owner . compiledWithForget }
158+ id = { owner . id }
159+ isInStore = { store . containsElement ( owner . id ) }
160+ type = { owner . type }
161+ />
162+ ) : null }
149163 < div className = { styles . PreviewContainer } >
150164 < KeyValue
151165 alphaSort = { true }
@@ -174,20 +188,6 @@ function SuspendedByRow({
174188 }
175189 />
176190 </ div >
177- { stack !== null && stack . length > 0 && (
178- < StackTraceView stack = { stack } />
179- ) }
180- { owner !== null && owner . id !== inspectedElement . id ? (
181- < OwnerView
182- key = { owner . id }
183- displayName = { owner . displayName || 'Anonymous' }
184- hocDisplayNames = { owner . hocDisplayNames }
185- compiledWithForget = { owner . compiledWithForget }
186- id = { owner . id }
187- isInStore = { store . containsElement ( owner . id ) }
188- type = { owner . type }
189- />
190- ) : null }
191191 </ div >
192192 ) }
193193 </ div >
You can’t perform that action at this time.
0 commit comments