Skip to content

Commit

Permalink
feat: no redirect until loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
madkarmaa committed Oct 8, 2023
1 parent 11c003a commit 0fba87c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/revanced/RevancedHome.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@
<Button
icon="open_in_new"
type="filled"
href={`https://www.apkmirror.com/apk/google-inc/youtube/youtube-${youtubeVerDashed}-release/#downloads`}
href={youtubeVerDashed
? `https://www.apkmirror.com/apk/google-inc/youtube/youtube-${youtubeVerDashed}-release/#downloads`
: ''}
target="_blank"
disabled={!youtubeVerDashed}
>
Expand Down

0 comments on commit 0fba87c

Please sign in to comment.