2017-10-28 10:55:27 +03:00
|
|
|
import React from 'react';
|
|
|
|
import ReactDOM from 'react-dom';
|
2018-10-10 12:09:26 +03:00
|
|
|
import { DrizzleProvider } from 'drizzle-react';
|
2018-10-07 00:24:17 +03:00
|
|
|
import App from './pages/App';
|
2018-03-11 08:50:54 +03:00
|
|
|
import store from './store';
|
|
|
|
|
2018-10-07 01:53:46 +03:00
|
|
|
import './index.scss';
|
2018-03-11 08:50:54 +03:00
|
|
|
|
2018-10-07 14:31:17 +03:00
|
|
|
window.addEventListener('load', function() {
|
|
|
|
ReactDOM.render(
|
2018-10-10 12:09:26 +03:00
|
|
|
<DrizzleProvider options={{
|
|
|
|
contracts: [],
|
|
|
|
events: [],
|
2018-10-24 01:19:49 +03:00
|
|
|
polls: { accounts: 60000, blocks: 60000 },
|
2018-10-10 12:09:26 +03:00
|
|
|
}} store={store}>
|
2018-10-07 14:31:17 +03:00
|
|
|
<App />
|
2018-10-10 12:09:26 +03:00
|
|
|
</DrizzleProvider>
|
2018-10-07 14:31:17 +03:00
|
|
|
, document.getElementById('root')
|
|
|
|
);
|
|
|
|
});
|
|
|
|
|