diff options
author | Paul Frazee <pfrazee@gmail.com> | 2024-01-22 15:04:41 -0800 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2024-01-22 15:04:41 -0800 |
commit | d25b17ab19e7373b4463be13b8611997b3f028dd (patch) | |
tree | a4dff6d920f5cb72d1bd9177c2503a8ee7485019 /src/view/com/notifications/FeedItem.tsx | |
parent | ad018d8dbd9353af2a66a0b21a232ee3225bbcf8 (diff) | |
parent | d51ad1fec94ef933eafe0e5f58fba810e349494b (diff) | |
download | voidsky-d25b17ab19e7373b4463be13b8611997b3f028dd.tar.zst |
Merge branch 'main' of github.com:bluesky-social/social-app into main
Diffstat (limited to 'src/view/com/notifications/FeedItem.tsx')
-rw-r--r-- | src/view/com/notifications/FeedItem.tsx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/view/com/notifications/FeedItem.tsx b/src/view/com/notifications/FeedItem.tsx index e9d8b63e2..0dfac2a83 100644 --- a/src/view/com/notifications/FeedItem.tsx +++ b/src/view/com/notifications/FeedItem.tsx @@ -167,11 +167,9 @@ let FeedItem = ({ icon = 'user-plus' iconStyle = [s.blue3 as FontAwesomeIconStyle] } else if (item.type === 'feedgen-like') { - action = _( - msg`liked your custom feed${ - item.subjectUri ? ` '${new AtUri(item.subjectUri).rkey}'` : '' - }`, - ) + action = item.subjectUri + ? _(msg`liked your custom feed '${new AtUri(item.subjectUri).rkey}'`) + : _(msg`liked your custom feed`) icon = 'HeartIconSolid' iconStyle = [ s.likeColor as FontAwesomeIconStyle, |