Remove empty box for unhandled links #20429 (#20430)

This commit is contained in:
flexsurfer 2024-06-11 15:49:46 +02:00 committed by GitHub
parent 6a32006e6a
commit 4942238cae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
(when (seq status-link-previews)
[rn/view {:style {:margin-top (when link-previews? 8)}}
(for [{:keys [url community]} status-link-previews]
(when community
(when (:display-name community)
(let [{community-description :description
community-icon :icon
community-banner :banner