tidy: remove extra event handler for `:communities/set-airdrop-address` (#19829)

This commit is contained in:
Sean Hagstrom 2024-04-30 14:18:50 +01:00 committed by GitHub
parent a1490d414c
commit aaf5b72675
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 4 deletions

View File

@ -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