uniswap-interface-uncensored/src/index.js

23 lines
555 B
JavaScript
Raw Normal View History

2017-10-28 10:55:27 +03:00
import React from 'react';
import ReactDOM from 'react-dom';
2018-10-07 00:30:20 +03:00
import { BrowserRouter } from 'react-router-dom'
2018-10-07 00:24:17 +03:00
import App from './pages/App';
2018-03-11 08:50:54 +03:00
import { Provider } from 'react-redux';
import store from './store';
import './index.css';
2017-11-28 04:16:41 +03:00
import registerServiceWorker from './registerServiceWorker';
2018-03-11 08:50:54 +03:00
// provider is going to need a store object passed into it
ReactDOM.render(
<Provider store={store}>
2018-10-07 00:30:20 +03:00
<BrowserRouter>
<App metamask={window.web3} />
</BrowserRouter>
2018-03-11 08:50:54 +03:00
</Provider>
, document.getElementById('root')
);
2017-11-24 06:05:02 +03:00
2017-11-28 04:16:41 +03:00
registerServiceWorker();