Skip to content

Commit

Permalink
Dissoc key instead of assoc-ing nil
Browse files Browse the repository at this point in the history
  • Loading branch information
ulisesmac committed Dec 3, 2024
1 parent b778e99 commit 3a9d0f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/status_im/contexts/onboarding/events.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
(fn [{:keys [db]}]
{:db (-> db
(assoc-in [:onboarding/profile :color] (rand-nth colors/account-colors))
(assoc-in [:onboarding/profile :image-path] nil))
(update :onboarding/profile dissoc :image-path))
:fx [[:dispatch
[:navigate-to-within-stack
[:screen/onboarding.create-profile-password :screen/onboarding.new-to-status]]]]}))
Expand Down

0 comments on commit 3a9d0f9

Please sign in to comment.