🍙 Redirect bug fix

- location.replace was running for the app too
This commit is contained in:
Shiba 2022-01-10 15:33:07 +00:00
parent 94cda17b99
commit 4653f77be4

View file

@ -67,7 +67,8 @@ async function redirectTo({ lbryPathname, platfrom, time }: Target) {
if (window.history.length === 1) window.close() if (window.history.length === 1) window.close()
else window.history.back() else window.history.back()
} }
location.replace(url.toString()) else
location.replace(url.toString())
} }
/** Returns a mount point for the button */ /** Returns a mount point for the button */