mirror of https://github.com/tooot-app/app
Fix possible undefined
This commit is contained in:
parent
94e9e023e3
commit
5d615174cb
|
@ -354,7 +354,7 @@ const ScreenCompose: React.FC<RootStackScreenProps<'Screen-Compose'>> = ({
|
|||
navigation.goBack()
|
||||
})
|
||||
.catch(error => {
|
||||
if (error.removeReply) {
|
||||
if (error?.removeReply) {
|
||||
Alert.alert(
|
||||
t('heading.right.alert.removeReply.title'),
|
||||
t('heading.right.alert.removeReply.description'),
|
||||
|
|
Loading…
Reference in New Issue