about summary refs log tree commit diff
path: root/src/view/com/composer/ExternalEmbed.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/com/composer/ExternalEmbed.tsx')
-rw-r--r--src/view/com/composer/ExternalEmbed.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/composer/ExternalEmbed.tsx b/src/view/com/composer/ExternalEmbed.tsx
index a938562bd..c9200ec63 100644
--- a/src/view/com/composer/ExternalEmbed.tsx
+++ b/src/view/com/composer/ExternalEmbed.tsx
@@ -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}