Skip to content

Commit a66ca16

Browse files
committed
fix: ensure we register the event handlers correctly
# 50-character subject line # # 72-character wrapped longer description. # # * Maybe try answering these questions: * # * What did I change? * # * Why did I change it? * # * How did I change it? *
1 parent 2df1099 commit a66ca16

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/status_im/contexts/profile/events.cljs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,11 @@
131131
{:on-success [:navigate-to :screen/profile.profiles]}]]}))
132132

133133
(rf/reg-event-fx :profile/save-notifications-prompted
134-
(fn [{:keys [key-uid]}]
134+
(fn [{:keys [_db]} [{:keys [key-uid]}]]
135135
{:fx [[:effects.kv/merge-object
136136
{:key key-uid
137137
:value {:notifications-prompted? true}}]]}))
138138

139139
(rf/reg-event-fx :profile/remove-local-profile-storage
140-
(fn [{:keys [key-uid]}]
140+
(fn [{:keys [_db]} [{:keys [key-uid]}]]
141141
{:fx [[:effects.kv/delete-key key-uid]]}))

src/status_im/events.cljs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
status-im.common.font.events
1010
status-im.common.image-crop-picker.events
1111
[status-im.common.json-rpc.events]
12+
status-im.common.kv-storage.effects
1213
status-im.common.log
1314
status-im.common.peer-stats.events
1415
status-im.common.shared-urls.events

0 commit comments

Comments
 (0)