Eslint updates (#1281)
* eslint: Update eslintrc * eslint: Strings must use singlequote quotes * eslint: expected { after if-condition * eslint: update warnings * a little cleanup * remove conflicted file --------- Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com> Co-authored-by: Paul Frazee <pfrazee@gmail.com>
This commit is contained in:
parent
a0dca81a74
commit
b15a435069
5 changed files with 9 additions and 5 deletions
|
@ -174,8 +174,8 @@ export function Selector({
|
|||
<View
|
||||
style={[pal.view, styles.outer]}
|
||||
onLayout={e => {
|
||||
const {height} = e.nativeEvent.layout
|
||||
setHeight(height || 60)
|
||||
const {height: layoutHeight} = e.nativeEvent.layout
|
||||
setHeight(layoutHeight || 60)
|
||||
}}>
|
||||
{items.map((item, i) => {
|
||||
const selected = i === selectedIndex
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue