mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-23 23:54:13 +08:00
fix(warning): Add key to react component
This commit is contained in:
parent
5a8f8b9877
commit
4e326edfce
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class SelectedItemsStack extends Component {
|
|||
transform,
|
||||
zIndex: 5 - idx,
|
||||
}
|
||||
return <div style={style} className="card"/>
|
||||
return <div key={`card-${idx}`} style={style} className="card"/>
|
||||
})}
|
||||
</div>
|
||||
<div className="count-info">
|
||||
|
|
Loading…
Reference in a new issue