lbry-desktop/js/main.js
2016-04-12 04:52:42 -04:00

15 lines
245 B
JavaScript

//main.js
var init = function() {
var canvas = document.getElementById('canvas');
ReactDOM.render(
<SplashScreen message="Connecting"/>,
canvas
);
lbry.connect(function() {
ReactDOM.render(<App/>, canvas);
})
};
init();