fix errors from cljsbuild output
This commit is contained in:
parent
af1896ce41
commit
d5de7f4af6
|
@ -103,7 +103,7 @@
|
||||||
:style icon-back}
|
:style icon-back}
|
||||||
:handler #(dispatch [:navigate-back])}
|
:handler #(dispatch [:navigate-back])}
|
||||||
:custom-content toolbar-title
|
:custom-content toolbar-title
|
||||||
:actions (toolbar-actions new-contact-identity accounts error)}]]
|
:actions (toolbar-actions new-contact-identity account error)}]]
|
||||||
[view st/form-container
|
[view st/form-container
|
||||||
[contact-whisper-id-input new-contact-identity error]]
|
[contact-whisper-id-input new-contact-identity error]]
|
||||||
[view st/address-explication-container
|
[view st/address-explication-container
|
||||||
|
|
|
@ -7,7 +7,8 @@
|
||||||
[status-im.data-store.discovery :as discoveries]
|
[status-im.data-store.discovery :as discoveries]
|
||||||
[status-im.utils.handlers :as u]
|
[status-im.utils.handlers :as u]
|
||||||
[status-im.utils.datetime :as time]
|
[status-im.utils.datetime :as time]
|
||||||
[status-im.utils.random :as random]))
|
[status-im.utils.random :as random]
|
||||||
|
[status-im.data-store.contacts :as contacts]))
|
||||||
|
|
||||||
(register-handler :init-discoveries
|
(register-handler :init-discoveries
|
||||||
(fn [db _]
|
(fn [db _]
|
||||||
|
@ -52,7 +53,7 @@
|
||||||
(register-handler :check-status!
|
(register-handler :check-status!
|
||||||
(u/side-effect!
|
(u/side-effect!
|
||||||
(fn [db [_ {:keys [whisper-identity status]} payload]]
|
(fn [db [_ {:keys [whisper-identity status]} payload]]
|
||||||
(let [{old-status :status} (contacts/get-contact whisper-identity)]
|
(let [{old-status :status} (contacts/get-by-id whisper-identity)]
|
||||||
(when (not= old-status status)
|
(when (not= old-status status)
|
||||||
(let [hashtags (get-hashtags status)]
|
(let [hashtags (get-hashtags status)]
|
||||||
(when-not (empty? hashtags)
|
(when-not (empty? hashtags)
|
||||||
|
|
Loading…
Reference in New Issue