minor refactoring.
This commit is contained in:
@@ -67,12 +67,7 @@
|
||||
[:td invoice-number]
|
||||
[:td date]
|
||||
[:td total]])]]]))
|
||||
{:component-did-mount (fn []
|
||||
(go
|
||||
(->> (<! (http/get "/api/invoices/unpaid"))
|
||||
:body
|
||||
(conj [::events/received-invoices :unpaid])
|
||||
(re-frame/dispatch))))})])
|
||||
{:component-did-mount #(re-frame/dispatch [::events/view-unpaid-invoices]) })])
|
||||
|
||||
(defmethod active-page :paid-invoices []
|
||||
[:div {:class "inbox-messages"}
|
||||
|
||||
Reference in New Issue
Block a user