Fix sharing url on first page view

This commit is contained in:
Jonathan Cremin 2015-01-25 22:21:45 +00:00
parent be8236a428
commit 2e0b6a151e
4 changed files with 9 additions and 7 deletions

View file

@ -116,7 +116,8 @@ module.exports = React.createClass({
this.setState({
name: shares[0].name,
artist: shares[0].artist.name,
shares: shares
shares: shares,
shareUrl: "https://match.audio/" + this.props.shares[0].service + "/" + this.props.shares[0].type + "/" + this.props.shares[0].id
});
}.bind(this));
}.bind(this)