Skip to content

Commit

Permalink
Improvement: remove dispatch-n
Browse files Browse the repository at this point in the history
  • Loading branch information
ulisesmac committed Jan 21, 2025
1 parent a2ac2a4 commit e3c8123
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/status_im/contexts/profile/edit/modal/events.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
(conj [:dispatch [:profile/delete-picture {:show-toast? false}]])

:always
(conj [:dispatch-n [[:navigate-back] on-success]]))}))
(conj [:dispatch [:navigate-back]]
[:dispatch on-success]))}))

(defn- profile-update-asked-storage-key
[key-uid]
Expand Down

0 comments on commit e3c8123

Please sign in to comment.