You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Tools: Added eslint rule arrow-parens
This commit is contained in:
@ -87,10 +87,10 @@ class NoteListComponent extends Component {
|
||||
|
||||
if (this.props.items.length) {
|
||||
return <FlatList
|
||||
ref={ref => (this.rootRef_ = ref)}
|
||||
ref={(ref) => (this.rootRef_ = ref)}
|
||||
data={this.props.items}
|
||||
renderItem={({ item }) => <NoteItem note={item} />}
|
||||
keyExtractor={item => item.id}
|
||||
keyExtractor={(item) => item.id}
|
||||
/>;
|
||||
} else {
|
||||
if (!this.props.folders.length) {
|
||||
@ -109,7 +109,7 @@ class NoteListComponent extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
const NoteList = connect(state => {
|
||||
const NoteList = connect((state) => {
|
||||
return {
|
||||
items: state.notes,
|
||||
folders: state.folders,
|
||||
|
Reference in New Issue
Block a user