From aaf5b7267591fbd6eaabe24d37ba8d34958225b9 Mon Sep 17 00:00:00 2001 From: Sean Hagstrom Date: Tue, 30 Apr 2024 14:18:50 +0100 Subject: [PATCH] tidy: remove extra event handler for `:communities/set-airdrop-address` (#19829) --- src/status_im/contexts/communities/events.cljs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/status_im/contexts/communities/events.cljs b/src/status_im/contexts/communities/events.cljs index 2b1a736783..5c8c11ea91 100644 --- a/src/status_im/contexts/communities/events.cljs +++ b/src/status_im/contexts/communities/events.cljs @@ -223,10 +223,6 @@ (get-in db [:communities community-id :previous-share-all-addresses?])) :fx [[:dispatch [:communities/check-permissions-to-join-community community-id]]]}))) -(rf/reg-event-fx :communities/set-airdrop-address - (fn [{:keys [db]} [address community-id]] - {:db (assoc-in db [:communities community-id :airdrop-address] address)})) - (defn community-fetched [{:keys [db]} [community-id community]] (when community