0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-15 11:38:24 -05:00

🐛 Fix notification level on import error (#5689)

This commit is contained in:
Eva Marco 2025-01-28 11:40:35 +01:00 committed by GitHub
parent b27324f903
commit 10bc2276a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -323,8 +323,7 @@
(js/console.error err)
(st/emit! (ntf/show {:content (wte/humanize-errors [(ex-data err)])
:type :toast
:level :warning
:timeout 9000})))))
:level :error})))))
(set! (.-value (mf/ref-val input-ref)) "")))
on-export (fn []
(st/emit! (ptk/event ::ev/event {::ev/name "export-tokens"}))