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 24, 2025
1 parent e2569c9 commit 0e2bf00
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 0e2bf00

Please sign in to comment.