Fix accidental unwrapped strings (#1826)

This commit is contained in:
dan 2023-11-06 22:42:25 +00:00 committed by GitHub
parent d715246e26
commit a4baf14e4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View file

@ -51,14 +51,14 @@ export const ExternalEmbed = ({
{link.meta.description}
</Text>
)}
{!!link.meta?.error && (
{link.meta?.error ? (
<Text
type="sm"
numberOfLines={2}
style={[{color: palError.colors.background}, styles.description]}>
{link.meta.error}
</Text>
)}
) : null}
</View>
<TouchableOpacity
style={styles.removeBtn}