lbry-desktop/js/page/start.js
2016-12-06 14:28:10 -05:00

21 lines
453 B
JavaScript

import React from 'react';
import lbry from '../lbry.js';
var StartPage = React.createClass({
componentWillMount: function() {
lbry.stop();
},
componentDidMount: function() {
document.title = "LBRY is Closed";
},
render: function() {
return (
<main className="page">
<h3>LBRY is Closed</h3>
<Link href="lbry://lbry" label="Click here to start LBRY" />
</main>
);
}
});
export default StartPage;