mirror of
https://github.com/penpot/penpot.git
synced 2025-02-01 11:59:17 -05:00
🐛 Fix outdated notifications map
This commit is contained in:
parent
03ea5414be
commit
7debdefa22
1 changed files with 2 additions and 2 deletions
|
@ -299,8 +299,8 @@
|
||||||
(fn [err]
|
(fn [err]
|
||||||
(let [{:keys [user-error]} (ex-data err)]
|
(let [{:keys [user-error]} (ex-data err)]
|
||||||
(st/emit! (ntf/show {:content user-error
|
(st/emit! (ntf/show {:content user-error
|
||||||
:notification-type :toast
|
:type :toast
|
||||||
:type :warning
|
:level :warning
|
||||||
:timeout 3000}))))))
|
:timeout 3000}))))))
|
||||||
(set! (.-value (mf/ref-val input-ref)) "")))
|
(set! (.-value (mf/ref-val input-ref)) "")))
|
||||||
on-export (fn []
|
on-export (fn []
|
||||||
|
|
Loading…
Add table
Reference in a new issue