supports changing expense accounts

This commit is contained in:
Bryce Covert
2019-04-17 08:02:41 -07:00
parent 68ca16d382
commit 2199e91c2a
2 changed files with 26 additions and 28 deletions

View File

@@ -50,7 +50,6 @@
(re-frame/reg-event-db
::change
(fn [db [_ form & path-pairs]]
(println "CHANGED" path-pairs)
(reduce
(fn [db [path value]]
(assoc-in db (into [::forms form :data] path) value))