parent
8111758ef7
commit
8948904a9b
|
@ -74,7 +74,7 @@
|
||||||
(fn [{:keys [db]} [contact-id]]
|
(fn [{:keys [db]} [contact-id]]
|
||||||
{:db (update-in db
|
{:db (update-in db
|
||||||
[:contacts/contacts contact-id]
|
[:contacts/contacts contact-id]
|
||||||
#(assoc % :blocked? false :added true :active? true))}))
|
#(assoc % :blocked? false))}))
|
||||||
|
|
||||||
(rf/reg-event-fx :contact/unblock-contact
|
(rf/reg-event-fx :contact/unblock-contact
|
||||||
(fn [_ [contact-id]]
|
(fn [_ [contact-id]]
|
||||||
|
|
Loading…
Reference in New Issue