UNPKG

fbz

Version:

Fork of the OpenBazaar 2.0 browser-based client.

23 lines (20 loc) 709 B
import React from 'react'; import ReactDOM from 'react-dom'; import { ConnectedRouter } from 'connected-react-router'; import { Provider } from 'react-redux'; import store, { history } from 'store'; import 'index.scss'; import App from 'components/App'; import * as serviceWorker from 'serviceWorker'; ReactDOM.render( <Provider store={store}> <ConnectedRouter history={history}> <App /> </ConnectedRouter> </Provider>, document.getElementById('root') ); // If you want your app to work offline and load faster, you can change // unregister() to register() below. Note this comes with some pitfalls. // Learn more about service workers: http://bit.ly/CRA-PWA serviceWorker.unregister();