From 8f5994492e4a82056ea540bf89d42525768cc66e Mon Sep 17 00:00:00 2001 From: Dmitry Novotochinov Date: Thu, 26 Sep 2019 18:05:57 +0300 Subject: [PATCH] [#9023] fix redirect on keycard setup cancel --- src/status_im/hardwallet/core.cljs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/status_im/hardwallet/core.cljs b/src/status_im/hardwallet/core.cljs index 143fa9a6424c..9ff3586eade6 100644 --- a/src/status_im/hardwallet/core.cljs +++ b/src/status_im/hardwallet/core.cljs @@ -249,8 +249,9 @@ (fx/merge cofx (remove-listener-to-hardware-back-button) (navigation/navigate-reset {:index 0 - :actions [{:routeName (if (:multiaccounts/multiaccounts db) - :multiaccounts :intro)}]}))) + :actions [{:routeName (if (seq (:multiaccounts/multiaccounts db)) + :multiaccounts + :intro)}]}))) (fx/defn load-finishing-screen {:events [:keycard.onboarding.recovery-phrase-confirm-word2.ui/next-pressed