Seed Support #56

Closed
ocnios wants to merge 173 commits from master into build
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 562f7dd399 - Show all commits

View file

@ -259,7 +259,7 @@ var App = React.createClass({
case 'help':
return <HelpPage />;
case 'watch':
return <WatchPage name={this.state.pageArgs} />;
return <WatchPage uri={this.state.pageArgs} />;
case 'report':
return <ReportPage />;
case 'downloaded':

View file

@ -15,7 +15,7 @@ var WatchPage = React.createClass({
_outpoint: null,
propTypes: {
name: React.PropTypes.string,
uri: React.PropTypes.string,
},
getInitialState: function() {
return {
@ -27,7 +27,7 @@ var WatchPage = React.createClass({
};
},
componentDidMount: function() {
lbry.get({name: this.props.name}).then((fileInfo) => {
lbry.get({uri: this.props.uri}).then((fileInfo) => {
this._outpoint = fileInfo.outpoint;
this.updateLoadStatus();
});