Hide featured communities when not fetched

This commit is contained in:
Andrea Maria Piana 2023-09-06 11:49:31 +01:00
parent 3d63854b03
commit 50af7fb502
No known key found for this signature in database
GPG Key ID: AA6CCA6DE0E06424
1 changed files with 5 additions and 3 deletions

View File

@ -119,9 +119,11 @@
selected-tab]}]
[react/animated-view
[screen-title]
[featured-communities-header featured-communities-count]
[featured-list featured-communities view-type]
[quo/separator {:style {:margin-horizontal 20}}]
(when (pos? featured-communities-count)
[:<>
[featured-communities-header featured-communities-count]
[featured-list featured-communities view-type]
[quo/separator {:style {:margin-horizontal 20}}]])
[discover-communities-segments selected-tab false]])
(defn other-communities-list