mirror of
https://github.com/status-im/status-react.git
synced 2025-02-03 06:34:14 +00:00
Convert macro to fn
Signed-off-by: Shivek Khurana <shivek@status.im>
This commit is contained in:
parent
933e74f1b3
commit
e1666aa169
@ -209,7 +209,7 @@
|
|||||||
(fx/merge cofx
|
(fx/merge cofx
|
||||||
{::json-rpc/call [{:method "multiaccounts_storeIdentityImageFromURL"
|
{::json-rpc/call [{:method "multiaccounts_storeIdentityImageFromURL"
|
||||||
:params [key-uid url]
|
:params [key-uid url]
|
||||||
:on-error log/warn
|
:on-error #(log/error "::save-profile-picture-from-url error" %)
|
||||||
:on-success #(re-frame/dispatch [::update-local-picture %])}]}
|
:on-success #(re-frame/dispatch [::update-local-picture %])}]}
|
||||||
(bottom-sheet/hide-bottom-sheet))))
|
(bottom-sheet/hide-bottom-sheet))))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user