1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

get "data" from this.props

This commit is contained in:
Sosuke Suzuki
2017-10-07 03:44:15 +09:00
parent 3533903be3
commit 6018cd5d81

View File

@@ -98,7 +98,8 @@ class SideNav extends React.Component {
return component
}
tagListComponent (data) {
tagListComponent () {
const { data } = this.props
let tagList = data.tagNoteMap.map((tag, key) => {
return key
})