mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 19:44:47 +00:00
tidy: remove extra event handler for :communities/set-airdrop-address
(#19829)
This commit is contained in:
parent
a1490d414c
commit
aaf5b72675
@ -223,10 +223,6 @@
|
|||||||
(get-in db [:communities community-id :previous-share-all-addresses?]))
|
(get-in db [:communities community-id :previous-share-all-addresses?]))
|
||||||
:fx [[:dispatch [:communities/check-permissions-to-join-community community-id]]]})))
|
: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
|
(defn community-fetched
|
||||||
[{:keys [db]} [community-id community]]
|
[{:keys [db]} [community-id community]]
|
||||||
(when community
|
(when community
|
||||||
|
Loading…
x
Reference in New Issue
Block a user