text: import React from 'react';
  import { BrowserRouter as Router } from 'react-router-dom';
  import { Provider } from 'react-redux';
  import { init } from './store';
  import App from './App';
  import { getBaseName } from '@redhat-cloud-services/frontend-components-utilities/helpers';
  import logger from 'redux-logger';
  
  const AppEntry = () => (
    <Provider store={(logger ? init(logger) : init()).getStore()}>
      <Router basename={getBaseName(window.location.pathname)}>
        <App />
      </Router>
    </Provider>
  );
  
  export default AppEntry;
  