Make 1000 LBC notice only appear on home page

This commit is contained in:
Alex Liebowitz 2016-05-09 17:25:34 -04:00
parent 6e36cf67f1
commit 3246e93766
2 changed files with 7 additions and 7 deletions

View file

@ -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 = <HomePage />;

View file

@ -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 (
<div>