mirror of
https://github.com/penpot/penpot.git
synced 2026-02-25 05:45:53 +00:00
✨ Reset some message timeout defaults.
This commit is contained in:
@@ -225,8 +225,7 @@
|
||||
(ts/schedule
|
||||
(st/emitf
|
||||
(dm/show {:content "Unexpected validation error (server side)."
|
||||
:type :error
|
||||
:timeout 3000})))
|
||||
:type :error})))
|
||||
|
||||
;; Print to the console some debug info.
|
||||
(js/console.group "Validation Error")
|
||||
@@ -245,8 +244,7 @@
|
||||
[{:keys [data stack message context] :as error}]
|
||||
(ts/schedule
|
||||
(st/emitf (dm/show {:content "Internal error: assertion."
|
||||
:type :error
|
||||
:timeout 3000})))
|
||||
:type :error})))
|
||||
|
||||
;; Print to the console some debugging info
|
||||
(js/console.group message)
|
||||
@@ -269,8 +267,8 @@
|
||||
(ts/schedule
|
||||
(st/emitf (dm/show
|
||||
{:content "Something wrong has happened (on backend)."
|
||||
:type :error
|
||||
:timeout 3000})))
|
||||
:type :error})))
|
||||
|
||||
(js/console.group "Internal Server Error:")
|
||||
(js/console.error "hint:" (or (:hint data) (:message data)))
|
||||
(js/console.info
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
(wapi/write-to-clipboard link)
|
||||
(st/emit! (dm/show {:type :info
|
||||
:content "Link copied successfuly!"
|
||||
:timeout 2000})))]
|
||||
:timeout 3000})))]
|
||||
[:*
|
||||
[:span.btn-primary.btn-small
|
||||
{:alt (t locale "viewer.header.share.title")
|
||||
|
||||
Reference in New Issue
Block a user