summaryrefslogtreecommitdiff
path: root/source/features/comments-time-machine-links.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/comments-time-machine-links.tsx')
-rw-r--r--source/features/comments-time-machine-links.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/comments-time-machine-links.tsx b/source/features/comments-time-machine-links.tsx
index 4ad610f7..e3c5e3fc 100644
--- a/source/features/comments-time-machine-links.tsx
+++ b/source/features/comments-time-machine-links.tsx
@@ -102,7 +102,7 @@ async function showTimeMachineBar(): Promise<void | false> {
}
const link = (
- <a className="rgh-link-date" href={String(url)} data-pjax="#repo-content-pjax-container">
+ <a className="rgh-link-date" href={url.href} data-pjax="#repo-content-pjax-container">
view this object as it appeared at the time of the comment
</a>
);