Open in desktop #6818

Closed
btzr-io wants to merge 4 commits from desktop-redirect into master
Showing only changes of commit dd8a27f6d0 - Show all commits

View file

@ -5,6 +5,8 @@ import Yrbl from 'component/yrbl';
import Button from 'component/button';
const { buildURI } = require('lbry-redux');
const DELAY_TIME = 1500;
// Landing page for opening lbry urls on external applications.
type Props = {
match: {
@ -38,7 +40,7 @@ const OpenInDesktop = (props: Props) => {
setTimeout(() => {
setTitle('Ready!');
window.open(claimUrl, '_top');
}, 1500);
}, DELAY_TIME);
}
}, [claimUrl]);