fix errors from cljsbuild output

Former-commit-id: d5de7f4af6
This commit is contained in:
Roman Volosovskyi 2016-10-05 16:31:37 +03:00
parent 43deff4076
commit 65af0a91fb
2 changed files with 4 additions and 3 deletions

View File

@ -103,7 +103,7 @@
:style icon-back}
:handler #(dispatch [:navigate-back])}
:custom-content toolbar-title
:actions (toolbar-actions new-contact-identity accounts error)}]]
:actions (toolbar-actions new-contact-identity account error)}]]
[view st/form-container
[contact-whisper-id-input new-contact-identity error]]
[view st/address-explication-container

View File

@ -7,7 +7,8 @@
[status-im.data-store.discovery :as discoveries]
[status-im.utils.handlers :as u]
[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
(fn [db _]
@ -52,7 +53,7 @@
(register-handler :check-status!
(u/side-effect!
(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)
(let [hashtags (get-hashtags status)]
(when-not (empty? hashtags)