1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-02 22:49:09 +02:00

Revert "Tools: Added eslint rule arrow-parens"

This reverts commit 0b6f5581f0.

It causes too many conflicts with pull requests.
This commit is contained in:
Laurent Cozic
2020-05-21 09:14:33 +01:00
parent b83eee751f
commit a96734f5be
166 changed files with 444 additions and 445 deletions

View File

@@ -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,