mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
get "data" from this.props
This commit is contained in:
@@ -98,7 +98,8 @@ class SideNav extends React.Component {
|
|||||||
return component
|
return component
|
||||||
}
|
}
|
||||||
|
|
||||||
tagListComponent (data) {
|
tagListComponent () {
|
||||||
|
const { data } = this.props
|
||||||
let tagList = data.tagNoteMap.map((tag, key) => {
|
let tagList = data.tagNoteMap.map((tag, key) => {
|
||||||
return key
|
return key
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user