Skip to content

Commit e3a13de

Browse files
committed
fix lint errors
1 parent 3f27497 commit e3a13de

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

source/views/components/filter/filter-popover.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
//@flow
22
import * as React from 'react'
3-
import {StyleSheet, View, TouchableOpacity} from 'react-native'
43
import Popover from 'react-native-popover-view'
54
import {FilterSection} from './section'
65
import type {FilterType} from './types'
7-
import {Touchable, type TouchableUnion} from '../touchable'
6+
import {type TouchableUnion} from '../touchable'
87
import * as c from '../colors'
98

109
type Props = {

source/views/components/filter/filter-toolbar-button.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @flow
22
import * as React from 'react'
3-
import {StyleSheet, Text, Platform, TouchableOpacity} from 'react-native'
3+
import {StyleSheet, Text, Platform} from 'react-native'
44
import Icon from 'react-native-vector-icons/Ionicons'
55
import type {FilterType} from './types'
66
import {FilterPopover} from './filter-popover'
@@ -52,12 +52,12 @@ type State = {
5252
}
5353

5454
export class FilterToolbarButton extends React.PureComponent<Props, State> {
55-
touchable: ?TouchableUnion = null
56-
5755
state = {
5856
popoverVisible: false,
5957
}
6058

59+
touchable: ?TouchableUnion = null
60+
6161
openPopover = () => {
6262
this.setState(() => ({popoverVisible: true}))
6363
}

0 commit comments

Comments
 (0)