From 334f9622611bf4f3634a29665a44d4b0c979a165 Mon Sep 17 00:00:00 2001 From: andrey Date: Thu, 18 Apr 2024 15:27:21 +0200 Subject: [PATCH] fixes --- .../contexts/wallet/common/collectibles_tab/view.cljs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/status_im/contexts/wallet/common/collectibles_tab/view.cljs b/src/status_im/contexts/wallet/common/collectibles_tab/view.cljs index b54b5817608..e1bbb3b22ee 100644 --- a/src/status_im/contexts/wallet/common/collectibles_tab/view.cljs +++ b/src/status_im/contexts/wallet/common/collectibles_tab/view.cljs @@ -27,11 +27,10 @@ :on-long-press #(when on-long-press (on-long-press collectible))}])) -(defn- view-internal +(defn view [{:keys [theme collectibles filtered? on-collectible-press on-end-reached current-account-address on-collectible-long-press]}] - (let [theme (quo.theme/use-theme) - no-results-match-query? (and filtered? (empty? collectibles))] + (let [no-results-match-query? (and filtered? (empty? collectibles))] (cond no-results-match-query? [rn/view {:style {:flex 1 :justify-content :center}}