mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-15 18:56:22 +00:00
fix lint errors
This commit is contained in:
@@ -21,7 +21,7 @@ class TagSelect extends React.Component {
|
||||
this.value = this.props.value
|
||||
ee.on('editor:add-tag', this.addtagHandler)
|
||||
|
||||
new Awesomplete(this.refs.newTag, {
|
||||
const awesomplete = new Awesomplete(this.refs.newTag, {
|
||||
minChars: 1,
|
||||
autoFirst: true,
|
||||
list: '#datalist'
|
||||
@@ -149,7 +149,7 @@ class TagSelect extends React.Component {
|
||||
).filter(
|
||||
tag => tag.size > 0
|
||||
), ['name']).map(
|
||||
tag => <li>{tag.name}</li>
|
||||
tag => <li key={tag.name}>{tag.name}</li>
|
||||
)
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user