summaryrefslogtreecommitdiff
path: root/source/features/comments-time-machine-links.tsx
diff options
context:
space:
mode:
authorGravatar Kid <44045911+kidonng@users.noreply.github.com> 2021-10-14 19:46:19 +0800
committerGravatar GitHub <noreply@github.com> 2021-10-14 13:46:19 +0200
commit36a695a44dc5416495b6e08bc22503f69b965630 (patch)
tree2ce19ce780964748a94611ea7725133f9955c240 /source/features/comments-time-machine-links.tsx
parentc0a51aeed9b1ae5b425bd52362986c49e38f3792 (diff)
downloadrefined-github-36a695a44dc5416495b6e08bc22503f69b965630.tar.gz
refined-github-36a695a44dc5416495b6e08bc22503f69b965630.tar.zst
refined-github-36a695a44dc5416495b6e08bc22503f69b965630.zip
Lint (#4885)
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>
);