Use fetched data instead of params for url building
This commit is contained in:
parent
86011a93aa
commit
d8e9a5f61c
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ module.exports = React.createClass({
|
|||
name: this.props.shares[0].name,
|
||||
artist: this.props.shares[0].artist.name,
|
||||
shares: this.props.shares,
|
||||
shareUrl: "https://match.audio/" + this.getParams().service + "/" + this.getParams().type + "/" + this.getParams().id
|
||||
shareUrl: "https://match.audio/" + this.props.shares[0].service + "/" + this.props.shares[0].type + "/" + this.props.shares[0].id
|
||||
};
|
||||
}
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue