Minor refactoring to simplify consumer. May be better to use macro.
This commit is contained in:
@@ -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})))
|
||||
|
||||
Reference in New Issue
Block a user