mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🐛 Fix outdated notifications map
This commit is contained in:
@@ -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 []
|
||||||
|
|||||||
Reference in New Issue
Block a user