Update view.jsx
fixes share string missing slash
This commit is contained in:
parent
6cf4b0e0fb
commit
38dbff0c1f
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class SocialShare extends React.PureComponent<Props> {
|
||||||
const { claim } = this.props;
|
const { claim } = this.props;
|
||||||
const { canonical_url: canonicalUrl, permanent_url: permanentUrl } = claim;
|
const { canonical_url: canonicalUrl, permanent_url: permanentUrl } = claim;
|
||||||
const { speechShareable, onDone } = this.props;
|
const { speechShareable, onDone } = this.props;
|
||||||
const lbryTvPrefix = DOMAIN;
|
const lbryTvPrefix = `${DOMAIN}/`;
|
||||||
const OPEN_URL = 'https://open.lbry.com/';
|
const OPEN_URL = 'https://open.lbry.com/';
|
||||||
const lbryUrl = canonicalUrl ? canonicalUrl.split('lbry://')[1] : permanentUrl.split('lbry://')[1];
|
const lbryUrl = canonicalUrl ? canonicalUrl.split('lbry://')[1] : permanentUrl.split('lbry://')[1];
|
||||||
const lbryWebUrl = lbryUrl.replace(/#/g, ':');
|
const lbryWebUrl = lbryUrl.replace(/#/g, ':');
|
||||||
|
|
Loading…
Reference in a new issue