Fix sharing url on first page view
This commit is contained in:
parent
be8236a428
commit
2e0b6a151e
4 changed files with 9 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue