mirror of
https://github.com/status-im/status-react.git
synced 2025-02-02 22:25:12 +00:00
fix exception at fetching of the contacts
Former-commit-id: 084f067ae82eca5576f2fc84450c961b3b75cc2b
This commit is contained in:
parent
04760cc549
commit
ce80c8a330
@ -5,7 +5,8 @@
|
||||
[clojure.string :as s]
|
||||
[status-im.utils.utils :refer [http-post]]
|
||||
[status-im.utils.phone-number :refer [format-phone-number]]
|
||||
[status-im.utils.handlers :as u]))
|
||||
[status-im.utils.handlers :as u]
|
||||
[status-im.utils.utils :refer [require]]))
|
||||
|
||||
(defn save-contact
|
||||
[_ [_ contact]]
|
||||
@ -26,7 +27,7 @@
|
||||
(register-handler :load-contacts load-contacts!)
|
||||
|
||||
;; TODO see https://github.com/rt2zz/react-native-contacts/issues/45
|
||||
(def react-native-contacts #_(js/require "react-native-contacts"))
|
||||
(def react-native-contacts (require "react-native-contacts"))
|
||||
|
||||
(defn contact-name [contact]
|
||||
(->> contact
|
||||
|
Loading…
x
Reference in New Issue
Block a user