Resolve all remaining lint issues (#88)

* Rework 'navIdx' variables from number arrays to strings to avoid equality-check failures in react hooks

* Resolve all remaining lint issues

* Fix tests

* Use node v18 in gh action test
This commit is contained in:
Paul Frazee
2023-01-24 13:00:11 -06:00
committed by GitHub
parent 4b1fe49132
commit d054a69bcf
60 changed files with 478 additions and 482 deletions
+2 -1
View File
@@ -121,7 +121,7 @@ export function Component({
</View>
</View>
{error !== '' && (
<View style={{marginTop: 20}}>
<View style={styles.errorContainer}>
<ErrorMessage message={error} />
</View>
)}
@@ -231,4 +231,5 @@ const styles = StyleSheet.create({
marginBottom: 36,
marginHorizontal: -14,
},
errorContainer: {marginTop: 20},
})
+1 -1
View File
@@ -56,7 +56,7 @@ export function Component({onSelect}: {onSelect: (url: string) => void}) {
</View>
<View style={styles.group}>
<Text style={styles.label}>Other service</Text>
<View style={{flexDirection: 'row'}}>
<View style={s.flexRow}>
<BottomSheetTextInput
testID="customServerTextInput"
style={styles.textInput}