mirror of
https://github.com/penpot/penpot.git
synced 2025-06-01 06:41:39 +02:00
✨ Handle default register error
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
This commit is contained in:
parent
6d3232e70a
commit
3ae92717da
3 changed files with 5 additions and 1 deletions
|
@ -46,7 +46,9 @@
|
|||
:uxbox.services.users/username-already-exists
|
||||
(swap! form assoc-in [:errors :username]
|
||||
{:type ::api
|
||||
:message "errors.api.form.username-already-exists"})))
|
||||
:message "errors.api.form.username-already-exists"})
|
||||
|
||||
(st/emit! (tr "errors.api.form.unexpected-error"))))
|
||||
|
||||
(defn- on-submit
|
||||
[event form]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue