mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
give the key props to tagList Item
This commit is contained in:
@@ -102,8 +102,11 @@ class SideNav extends React.Component {
|
||||
})
|
||||
return (
|
||||
tagList.map(tag => {
|
||||
return (
|
||||
<TagListItem name={tag} handleClickTagButton={this.handleClickTagButton.bind(this)} />
|
||||
return (<TagListItem
|
||||
name={tag}
|
||||
handleClickTagButton={this.handleClickTagButton.bind(this)}
|
||||
key={tag}
|
||||
/>
|
||||
)
|
||||
})
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user