0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-11 23:31:21 -05:00

🐛 Fix missing parenthesis

This commit is contained in:
mathieu.brunot 2019-02-21 16:07:47 +01:00
parent 4b1bd3d132
commit a0ee33b63d
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0

View file

@ -55,9 +55,9 @@
:uxbox.services.users/registration-disabled :uxbox.services.users/registration-disabled
(st/emit! (tr "errors.api.form.registration-disabled")) (st/emit! (tr "errors.api.form.registration-disabled"))
:uxbox.services.users/email-already-exists :uxbox.services.users/email-already-exists
(st/emit! (assoc-error :email (tr "errors.api.form.email-already-exists")) (st/emit! (assoc-error :email (tr "errors.api.form.email-already-exists")))
:uxbox.services.users/username-already-exists :uxbox.services.users/username-already-exists
(st/emit! (assoc-error :username (tr "errors.api.form.username-already-exists")))) (st/emit! (assoc-error :username (tr "errors.api.form.username-already-exists")))))
(on-submit [event] (on-submit [event]
(dom/prevent-default event) (dom/prevent-default event)
(st/emit! (uda/register data on-error)))] (st/emit! (uda/register data on-error)))]