import React from 'react';
import { render } from 'react-dom';
import { Provider } from 'react-redux';
import { Router, hashHistory } from 'react-router';
import { syncHistoryWithStore } from 'react-router-redux';
import routes from './routes';
import configureStore from './store/configureStore';

const store = configureStore();
const history = syncHistoryWithStore(hashHistory, store);

render(
  <Provider store={store}>
    <Router history={history} routes={routes} />
  </Provider>,
  document.getElementById('root')
);

@@ -290,16 +290,75 @@
 eStore';
+%0Aimport %7B resetTree %7D from './actions/verticalTreeActions';
 %0A%0Aconst 
@@ -442,16 +442,122 @@
 tore);%0A%0A
+history.listen(location =%3E %7B%0A  if (location.pathname === '/') %7B%0A    store.dispatch(resetTree());%0A  %7D%0A%7D);%0A%0A
 render(%0A

Reset dispayed tree when going to main menu