// @flow
import { onWithStore } from '../../sockets';
import * as actions from './actions';

export default onWithStore((store, on) => {
  return on(
    'epl_st_EPL',
    {
      'apps-info': data => {
        // dispatch some action to store this
        console.log('apps-info', data);
        store.dispatch(actions.updateAppsInfo(data));
      },
      'node-info': data => {
        console.log('node-info', data);
        store.dispatch(actions.updateNodeInfo(data));
      }
    },
    () => {
      console.log('epl-sup-tree open');
    },
    () => {
      console.log('epl-sup-tree close');
    }
  );
});

@@ -242,16 +242,27 @@
 re this%0A
+        /* 
         
@@ -284,32 +284,34 @@
 ps-info', data);
+*/
 %0A        store.d
@@ -379,32 +379,43 @@
 nfo': data =%3E %7B%0A
+        /* 
         console.
@@ -437,16 +437,18 @@
 , data);
+*/
 %0A       

Remove console.log from epl-sup-tree/sockets