mirror of
https://github.com/penpot/penpot.git
synced 2026-05-27 19:03:39 +00:00
Fix form-clean event.
This commit is contained in:
parent
0c9b525fc3
commit
fb898e6fda
@ -57,7 +57,7 @@
|
|||||||
(defrecord CleanForm [type]
|
(defrecord CleanForm [type]
|
||||||
rs/UpdateEvent
|
rs/UpdateEvent
|
||||||
(-apply-update [_ state]
|
(-apply-update [_ state]
|
||||||
(assoc-in state [:form type] nil)))
|
(assoc-in state [:forms type] nil)))
|
||||||
|
|
||||||
(defn clean-form
|
(defn clean-form
|
||||||
[type]
|
[type]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user