subs.cljs 199 B

12345678910111213141516
  1. (ns microtables-frontend.subs
  2. (:require
  3. [re-frame.core :as re-frame]))
  4. (re-frame/reg-sub
  5. ::name
  6. (fn [db]
  7. (:name db)))
  8. (re-frame/reg-sub
  9. ::table-data
  10. (fn [db]
  11. (:table-data db)))