simple tweaks.

This commit is contained in:
Bryce Covert
2020-04-17 21:50:31 -07:00
parent a90a60f210
commit 46809abaf9
4 changed files with 12 additions and 6 deletions

View File

@@ -32,7 +32,6 @@
(re-frame/reg-event-fx
::toggle-expense-accounts
(fn [{:keys [db] } [_ invoice-id]]
(println "toggling")
{:db
(update-in db [::visible-expense-accounts] (fn [i] (if (= i invoice-id) nil invoice-id) ))}))