Fix double-posting bug

This commit is contained in:
Paul Frazee
2022-11-14 15:10:34 -06:00
parent d406b3a5c2
commit daf91112f5
2 changed files with 31 additions and 17 deletions
+2 -7
View File
@@ -126,10 +126,8 @@ export function Component({}: {}) {
/>
</View>
{error !== '' && (
<View style={styles.errorContainer}>
<View style={s.mb10}>
<ErrorMessage message={error} numberOfLines={3} />
</View>
<View style={s.mb10}>
<ErrorMessage message={error} numberOfLines={3} />
</View>
)}
{handle.length >= 2 && !isProcessing ? (
@@ -209,9 +207,6 @@ const styles = StyleSheet.create({
height: 70,
textAlignVertical: 'top',
},
errorContainer: {
height: 80,
},
btn: {
flexDirection: 'row',
alignItems: 'center',