diff --git a/js/app.js b/js/app.js index ac6d67509..08fea20d3 100644 --- a/js/app.js +++ b/js/app.js @@ -44,13 +44,6 @@ var App = React.createClass({ } }); }, - componentDidMount: function() { - lbry.getStartNotice(function(notice) { - if (notice) { - alert(notice); - } - }); - }, render: function() { if (this.state.viewingPage == 'home') { var content = ; diff --git a/js/page/home.js b/js/page/home.js index 914c24248..34b37870f 100644 --- a/js/page/home.js +++ b/js/page/home.js @@ -272,6 +272,13 @@ var TopBar = React.createClass({ }); var HomePage = React.createClass({ + componentDidMount: function() { + lbry.getStartNotice(function(notice) { + if (notice) { + alert(notice); + } + }); + }, render: function() { return (