Minor refactoring to simplify consumer. May be better to use macro.

This commit is contained in:
2022-07-20 06:27:21 -07:00
parent 9b5b7bef53
commit 86aaa4a933
5 changed files with 119 additions and 131 deletions

View File

@@ -117,7 +117,6 @@
::error
[(re-frame/path [::status]) ]
(fn [db [_ single error]]
(println "STATUS" single error)
(assoc db single {:state :error
:info nil
:error error})))