old_contents: import async from 'async';
  import handleRevisionChangesAndNavigate from '../revisioning/handleRevisionChangesAndNavigate';
  import DeckTreeStore from '../../stores/DeckTreeStore';
  import deleteTreeNodeWithRevisionCheck from './deleteTreeNodeWithRevisionCheck';
  
  export default function deleteTreeNodeAndNavigate(context, payload, done) {
      //load all required actions in parallel
      async.parallel([
          (callback) => {
              context.executeAction(deleteTreeNodeWithRevisionCheck, payload, callback);
          }
      ],
      // final callback
      (err, results) => {
          if (!err) {
              //the logic for retrieving the parent node is handles in the stores
              //therefore, we need to get access to the selector from the store
              let currentState = context.getStore(DeckTreeStore).getState();
              let selector = {
                  id: currentState.selector.get('id'),
                  stype: currentState.selector.get('stype'),
                  sid: currentState.selector.get('sid'),
                  spath: currentState.selector.get('spath')
              };
              console.log(results, selector);
              context.executeAction(handleRevisionChangesAndNavigate, {
                  selector: selector,
                  changeset: results[0].changeset
              });
          }
          done();
      });
  }
  
new_contents: import async from 'async';
  import handleRevisionChangesAndNavigate from '../revisioning/handleRevisionChangesAndNavigate';
  import DeckTreeStore from '../../stores/DeckTreeStore';
  import deleteTreeNodeWithRevisionCheck from './deleteTreeNodeWithRevisionCheck';
  
  export default function deleteTreeNodeAndNavigate(context, payload, done) {
      //load all required actions in parallel
      async.parallel([
          (callback) => {
              context.executeAction(deleteTreeNodeWithRevisionCheck, payload, callback);
          }
      ],
      // final callback
      (err, results) => {
          if (!err) {
              //the logic for retrieving the parent node is handles in the stores
              //therefore, we need to get access to the selector from the store
              let currentState = context.getStore(DeckTreeStore).getState();
              let selector = {
                  id: currentState.selector.get('id'),
                  stype: currentState.selector.get('stype'),
                  sid: currentState.selector.get('sid'),
                  spath: currentState.selector.get('spath')
              };
              context.executeAction(handleRevisionChangesAndNavigate, {
                  selector: selector,
                  changeset: results[0].changeset
              });
          }
          done();
      });
  }
  
subject: Remove console.log statements