diff --git a/src/status_im/ui/components/invite/views.cljs b/src/status_im/ui/components/invite/views.cljs index 838b00e9af..03654e61d7 100644 --- a/src/status_im/ui/components/invite/views.cljs +++ b/src/status_im/ui/components/invite/views.cljs @@ -255,13 +255,14 @@ [rn/view {:style {:flex-direction :row :justify-content :center}} [rn/view {:style (styles/home-tokens-icons (count tokens))} - (for [[{name :name - {source :source} :icon} _ i] tokens] - ^{:key name} - [rn/view {:style (styles/home-token-icon-style i)} - [rn/image {:source (if (fn? source) (source) source) - :style {:width 20 - :height 20}}]])] + (doall + (for [[{name :name + {source :source} :icon} _ i] tokens] + ^{:key name} + [rn/view {:style (styles/home-token-icon-style i)} + [rn/image {:source (if (fn? source) (source) source) + :style {:width 20 + :height 20}}]]))] [quo/text {:align :center} (i18n/label :t/invite-reward)]])]]))) diff --git a/src/status_im/ui/screens/multiaccounts/views.cljs b/src/status_im/ui/screens/multiaccounts/views.cljs index 72a4f65de1..a109387d2b 100644 --- a/src/status_im/ui/screens/multiaccounts/views.cljs +++ b/src/status_im/ui/screens/multiaccounts/views.cljs @@ -46,7 +46,7 @@ [react/view styles/multiaccounts-container [list/flat-list {:data (vals multiaccounts) :contentContainerStyle styles/multiaccounts-list-container - :key-fn :address + :key-fn (comp str :address) :render-fn multiaccount-view}]] [toolbar/toolbar {:show-border? true diff --git a/src/status_im/ui/screens/profile/contact/views.cljs b/src/status_im/ui/screens/profile/contact/views.cljs index 739744c540..f83181cf8c 100644 --- a/src/status_im/ui/screens/profile/contact/views.cljs +++ b/src/status_im/ui/screens/profile/contact/views.cljs @@ -195,16 +195,16 @@ :subtitle second-name})} [react/view {:padding-top 12} - (for [{:keys [label subtext accessibility-label icon action disabled?]} (actions contact)] + (for [{:keys [label subtext accessibility-label icon action disabled?]} (actions contact) + :when label] ^{:key label} - (when label - [quo/list-item {:theme :accent - :title label - :subtitle subtext - :icon icon - :accessibility-label accessibility-label - :disabled disabled? - :on-press action}]))] + [quo/list-item {:theme :accent + :title label + :subtitle subtext + :icon icon + :accessibility-label accessibility-label + :disabled disabled? + :on-press action}])] [react/view styles/contact-profile-details-container [profile-details contact] [chat-settings contact]]