Fix double-posting bug

This commit is contained in:
Paul Frazee 2022-11-14 15:10:34 -06:00
parent ef071c0915
commit 4a0b79da4a
2 changed files with 31 additions and 17 deletions

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',