Antonio-Maranhao commented on a change in pull request #1036: move revision 
browser to use redux
URL: https://github.com/apache/couchdb-fauxton/pull/1036#discussion_r157297554
 
 

 ##########
 File path: app/addons/documents/rev-browser/actions.js
 ##########
 @@ -63,81 +57,77 @@ function getConflictingRevs (paths, winner, deleted) {
   });
 }
 
-function dispatchData (tree, doc, conflictingRevs, conflictDoc, databaseName) {
-  FauxtonAPI.dispatch({
+const dispatchData = (tree, doc, conflictingRevs, conflictDoc, databaseName) 
=> {
 
 Review comment:
   To avoid confusion, I'd rename this to `treeLoaded` or `dataLoaded` since 
it's not longer calling `dispatch()`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to