Skip to content

Commit 7bfbd86

Browse files
committed
chore: remove unused dispatch
1 parent b85ecb0 commit 7bfbd86

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/status_im/contexts/onboarding/events.cljs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@
1414

1515
(rf/reg-event-fx
1616
:onboarding/finish-onboarding
17-
(fn [_ [notifications-enabled?]]
18-
{:fx [(when notifications-enabled?
19-
[:dispatch [:push-notifications/switch {:notifications-enabled true}]])
20-
[:dispatch [:shell/change-tab shell.constants/default-selected-stack]]
17+
(fn [_ []]
18+
{:fx [[:dispatch [:shell/change-tab shell.constants/default-selected-stack]]
2119
[:dispatch [:update-theme-and-init-root :screen/shell-stack]]
2220
[:dispatch [:profile/toggle-testnet-mode-banner]]
2321
[:dispatch [:universal-links/process-stored-event]]]}))

0 commit comments

Comments
 (0)