Check/Expense accounts much cleaner

This commit is contained in:
BC
2018-07-06 15:32:57 -07:00
parent a58f1f2c60
commit f232ca264c
7 changed files with 95 additions and 20 deletions

View File

@@ -20,6 +20,11 @@
(.preventDefault e)
(re-frame/dispatch (conj event (.. e -target -value)))))
(defn delayed-dispatch [e]
(fn [x]
(js/setTimeout #(re-frame/dispatch e) 150)
false))
(defn dispatch-event [event]
(fn [e]
(when (.-stopPropagation e)