summaryrefslogtreecommitdiff
path: root/source/features/default-branch-button.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/default-branch-button.tsx')
-rw-r--r--source/features/default-branch-button.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/default-branch-button.tsx b/source/features/default-branch-button.tsx
index c8bcac9f..3256b530 100644
--- a/source/features/default-branch-button.tsx
+++ b/source/features/default-branch-button.tsx
@@ -36,7 +36,7 @@ async function init(): Promise<false | void> {
const defaultLink = (
<a
className="btn tooltipped tooltipped-ne rgh-default-branch-button"
- href={String(url)}
+ href={url.href}
data-pjax="#repo-content-pjax-container"
aria-label="See this view on the default branch"
>