mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
[DevTools] Fix missing key warning (#34186)
This commit is contained in:
parent
47fd2f5e14
commit
0422a00e3e
|
|
@ -174,9 +174,8 @@ export default function InspectedElementView({
|
|||
{showStack ? <StackTraceView stack={stack} /> : null}
|
||||
{showOwnersList &&
|
||||
owners?.map(owner => (
|
||||
<>
|
||||
<Fragment key={owner.id}>
|
||||
<OwnerView
|
||||
key={owner.id}
|
||||
displayName={owner.displayName || 'Anonymous'}
|
||||
hocDisplayNames={owner.hocDisplayNames}
|
||||
environmentName={
|
||||
|
|
@ -190,7 +189,7 @@ export default function InspectedElementView({
|
|||
{owner.stack != null && owner.stack.length > 0 ? (
|
||||
<StackTraceView stack={owner.stack} />
|
||||
) : null}
|
||||
</>
|
||||
</Fragment>
|
||||
))}
|
||||
|
||||
{rootType !== null && (
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user