Fix in some rare cases

This commit is contained in:
Zhiyuan Zheng 2021-04-19 22:59:10 +02:00
parent 1ee9b7d91d
commit 0941fb04e9
No known key found for this signature in database
GPG Key ID: 078A93AB607D85E0
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@
"native": "210317",
"major": 1,
"minor": 0,
"patch": 0,
"patch": 1,
"expo": "40.0.0"
},
"description": "tooot app for Mastodon",

View File

@ -128,7 +128,8 @@ const renderNode = ({
})
}}
>
{content || (showFullLink ? href : domain[1])}
{(content && content !== href && content) ||
(showFullLink ? href : domain[1])}
{!shouldBeTag ? (
<Icon
color={theme.blue}