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