import React from 'react';
import PropTypes from 'prop-types';
import { Provider } from 'react-redux';
import { BrowserRouter } from 'react-router-dom';
import { ApolloProvider } from 'react-apollo';
import BaseDataView from './BaseDataView';
import Client from './Client';


const Root = ({ store }) => <ApolloProvider client={Client} store={store}>
  <Provider store={store}>
    <BrowserRouter>
      <BaseDataView />
    </BrowserRouter>
  </Provider>
</ApolloProvider>;


Root.propTypes = {
  'store': PropTypes.object.isRequired
};

export default Root;

@@ -105,23 +105,20 @@
 mport %7B 
-Browser
+Hash
 Router %7D
@@ -373,23 +373,20 @@
 %7D%3E%0A    %3C
-Browser
+Hash
 Router%3E%0A
@@ -418,15 +418,12 @@
   %3C/
-Browser
+Hash
 Rout

change router type to work better in nginx proxied environment as BrowserRouter requires significant backend support that we can postpone until later versions