embark-dtwitter-workshop/app/js/dapp.js

15 lines
389 B
JavaScript
Raw Normal View History

2018-06-25 03:09:10 +00:00
import { render } from 'react-dom'
import { BrowserRouter } from 'react-router-dom'
import App from './components/App';
import React from 'react';
import EmbarkJS from 'Embark/EmbarkJS';
import DTwitter from 'Embark/contracts/DTwitter';
window.EmbarkJS = EmbarkJS;
window.DTwitter = DTwitter;
render((
<BrowserRouter>
<App />
</BrowserRouter>
), document.getElementById('root'));