Fix form-clean event.

This commit is contained in:
Andrey Antukh
2016-05-28 16:32:07 +03:00
parent 0c9b525fc3
commit fb898e6fda

View File

@@ -57,7 +57,7 @@
(defrecord CleanForm [type]
rs/UpdateEvent
(-apply-update [_ state]
(assoc-in state [:form type] nil)))
(assoc-in state [:forms type] nil)))
(defn clean-form
[type]