greatly simplifying how states are handled.
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
states @(re-frame/subscribe [::status/multi ::run])]
|
||||
[grid/grid {:on-params-change opc
|
||||
:params @(re-frame/subscribe [::table-params])
|
||||
:status @status
|
||||
:status status
|
||||
:column-count 6}
|
||||
[grid/controls {:start start :end end :count count :total total}]
|
||||
[grid/table {:fullwidth true }
|
||||
@@ -124,5 +124,5 @@
|
||||
|
||||
(defn table [params]
|
||||
(r/create-class {:component-will-unmount (dispatch-event [::unmounted])
|
||||
:reagent-render (fn []
|
||||
:reagent-render (fn [params]
|
||||
[table* params])}))
|
||||
|
||||
Reference in New Issue
Block a user