continuing to refactor form.
This commit is contained in:
@@ -270,3 +270,10 @@
|
||||
|
||||
(defn local-now []
|
||||
(t/to-default-time-zone (t/now)))
|
||||
|
||||
(def with-user
|
||||
(re-frame/->interceptor
|
||||
:id :with-user
|
||||
:before (fn [context]
|
||||
(-> context
|
||||
(assoc-in [:coeffects :user] (get-in context [:coeffects :db :user]))))))
|
||||
|
||||
Reference in New Issue
Block a user