text: /**
   * app.js
   *
   * This is the entry file for the application, only setup and boilerplate
   * code.
   */
  
  // Needed for redux-saga es6 generator support
  import 'babel-polyfill';
  
  // Import all the third party stuff
  import React from 'react';
  import { Provider } from 'react-redux';
  import { ConnectedRouter } from 'react-router-redux';
  
  import PropTypes from 'prop-types';
  
  import ScrollToTop from 'components/ScrollToTop';
  
  // Import root app
  import App from 'containers/App';
  
  // Import Language Provider
  import LanguageProvider from 'containers/LanguageProvider';
  
  // Import CSS reset and Global Styles
  import './global-styles';
  
  const Root = ({ messages, history, store }) => (
    <Provider store={store}>
      <LanguageProvider messages={messages}>
        <ConnectedRouter history={history}>
          <ScrollToTop>
            <App />
          </ScrollToTop>
        </ConnectedRouter>
      </LanguageProvider>
    </Provider>
  );
  
  Root.propTypes = {
    messages: PropTypes.object.isRequired,
    history: PropTypes.object.isRequired,
    store: PropTypes.object.isRequired,
  };
  
  export default Root;
  