remove extra slash

This commit is contained in:
Akinwale Ariwodola 2019-10-11 15:17:49 +01:00
parent ae05269417
commit c85581b98f

View file

@ -517,7 +517,7 @@ class FilePage extends React.PureComponent {
const { claim, notify } = this.props; const { claim, notify } = this.props;
if (claim) { if (claim) {
const { canonical_url: canonicalUrl, short_url: shortUrl, permanent_url: permanentUrl } = claim; const { canonical_url: canonicalUrl, short_url: shortUrl, permanent_url: permanentUrl } = claim;
const url = 'https://beta.lbry.tv/' + this.formatLbryUrlForWeb(canonicalUrl || (shortUrl || permanentUrl)); const url = 'https://beta.lbry.tv' + this.formatLbryUrlForWeb(canonicalUrl || (shortUrl || permanentUrl));
NativeModules.UtilityModule.shareUrl(url); NativeModules.UtilityModule.shareUrl(url);
} }
}; };