actually talks to db

This commit is contained in:
Bryce Covert
2017-12-07 17:39:38 -08:00
parent 505ccfba8e
commit 9188ef7ca6
8 changed files with 101 additions and 98 deletions

View File

@@ -19,3 +19,8 @@
::imported-invoices
(fn [db [_ new-invoices]]
(update-in db [:invoices] into new-invoices)))
(re-frame/reg-event-db
::received-invoices
(fn [db [_ new-invoices]]
(update-in db [:unpaid-invoices] into new-invoices)))