mirror of
https://github.com/penpot/penpot.git
synced 2025-06-12 16:51:40 +02:00
💄 Update some namespace abbreviations
This commit is contained in:
parent
1af2ec0b79
commit
336cc98029
27 changed files with 131 additions and 117 deletions
|
@ -10,7 +10,7 @@
|
|||
[app.common.data :as d]
|
||||
[app.common.data.macros :as dma]
|
||||
[app.common.spec :as us]
|
||||
[app.main.data.messages :as dm]
|
||||
[app.main.data.messages :as msg]
|
||||
[app.main.data.modal :as modal]
|
||||
[app.main.data.users :as du]
|
||||
[app.main.refs :as refs]
|
||||
|
@ -47,11 +47,11 @@
|
|||
(assoc-in data [:errors :email-1] error))))
|
||||
|
||||
:profile-is-muted
|
||||
(rx/of (dm/error (tr "errors.profile-is-muted")))
|
||||
(rx/of (msg/error (tr "errors.profile-is-muted")))
|
||||
|
||||
:email-has-permanent-bounces
|
||||
(let [email (get @form [:data :email-1])]
|
||||
(rx/of (dm/error (tr "errors.email-has-permanent-bounces" email))))
|
||||
(rx/of (msg/error (tr "errors.email-has-permanent-bounces" email))))
|
||||
|
||||
(rx/throw error)))
|
||||
|
||||
|
@ -61,7 +61,7 @@
|
|||
(st/emit! (du/fetch-profile)
|
||||
(modal/hide))
|
||||
(let [message (tr "notifications.validation-email-sent" (:email profile))]
|
||||
(st/emit! (dm/info message)
|
||||
(st/emit! (msg/info message)
|
||||
(modal/hide)))))
|
||||
|
||||
(defn- on-submit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue