diff --git a/src/mocks/js_dependencies.cljs b/src/mocks/js_dependencies.cljs index d3f4c742aa2a..940b5672e2e8 100644 --- a/src/mocks/js_dependencies.cljs +++ b/src/mocks/js_dependencies.cljs @@ -158,7 +158,6 @@ {:MediaStates {} :PlaybackCategories {}}) (def net-info #js {}) -(def touchid #js {}) (def react-native-biometrics #js {:default {}}) (def react-native-image-viewing #js {:default {}}) (def react-native-static-safe-area-insets #js {:default {}}) diff --git a/src/status_im/common/keychain/events.cljs b/src/status_im/common/keychain/events.cljs index 40ae34456468..1e12b52fc31f 100644 --- a/src/status_im/common/keychain/events.cljs +++ b/src/status_im/common/keychain/events.cljs @@ -97,7 +97,6 @@ (get-user-password! key-uid callback))) (rf/defn get-user-password - {:events [:keychain/get-user-password]} [_ [key-uid callback]] {:keychain/get-user-password [key-uid callback]}) diff --git a/src/status_im/contexts/profile/login/events.cljs b/src/status_im/contexts/profile/login/events.cljs index 444298f3cecf..441b1138fc9a 100644 --- a/src/status_im/contexts/profile/login/events.cljs +++ b/src/status_im/contexts/profile/login/events.cljs @@ -209,9 +209,8 @@ :profile.login/biometric-success (fn [{:keys [db]}] (let [key-uid (get-in db [:profile/login :key-uid])] - {:db db - :dispatch [:keychain/get-user-password - [key-uid #(rf/dispatch [:profile.login/get-user-password-success %])]]}))) + {:keychain/get-user-password [key-uid + #(rf/dispatch [:profile.login/get-user-password-success %])]}))) (rf/reg-event-fx :profile.login/biometric-auth-fail