1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Second pass at linting lib dir

This commit is contained in:
Laurent Cozic
2019-07-29 15:58:33 +02:00
parent 0b9078d034
commit 6cfacb1a48
62 changed files with 46 additions and 160 deletions

View File

@ -1,5 +1,5 @@
const React = require('react');
const { Text, TouchableHighlight, View, StyleSheet, ScrollView } = require('react-native');
const { View, ScrollView } = require('react-native');
class ItemList extends React.Component {
constructor() {
@ -66,7 +66,6 @@ class ItemList extends React.Component {
render() {
const style = this.props.style ? this.props.style : {};
const itemHeight = this.state.itemHeight;
//if (!this.props.itemHeight) throw new Error('itemHeight is required');