fix lbry:// links on desktop
This commit is contained in:
parent
d5e44d71f1
commit
228dc1c96a
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ const SimpleText = (props: SimpleTextProps) => {
|
|||
const SimpleLink = (props: SimpleLinkProps) => {
|
||||
const { title, children } = props;
|
||||
let { href } = props;
|
||||
if (href && href.startsWith('lbry://')) {
|
||||
if (IS_WEB && href && href.startsWith('lbry://')) {
|
||||
href = formatLbryUrlForWeb(href);
|
||||
// using Link after formatLbryUrl to handle "/" vs "#/"
|
||||
// for web and desktop scenarios respectively
|
||||
|
|
Loading…
Reference in a new issue