summaryrefslogtreecommitdiff
path: root/source/features/quick-file-edit.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/quick-file-edit.tsx
parentc0a51aeed9b1ae5b425bd52362986c49e38f3792 (diff)
downloadrefined-github-36a695a44dc5416495b6e08bc22503f69b965630.tar.gz
refined-github-36a695a44dc5416495b6e08bc22503f69b965630.tar.zst
refined-github-36a695a44dc5416495b6e08bc22503f69b965630.zip
Lint (#4885)
Diffstat (limited to 'source/features/quick-file-edit.tsx')
-rw-r--r--source/features/quick-file-edit.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/quick-file-edit.tsx b/source/features/quick-file-edit.tsx
index 4857473d..c764d65e 100644
--- a/source/features/quick-file-edit.tsx
+++ b/source/features/quick-file-edit.tsx
@@ -24,7 +24,7 @@ async function init(): Promise<void> {
url.branch = await getDefaultBranch(); // Permalinks can't be edited
}
- wrap(fileIcon, <a href={String(url)} className="rgh-quick-file-edit"/>);
+ wrap(fileIcon, <a href={url.href} className="rgh-quick-file-edit"/>);
fileIcon.after(<PencilIcon/>);
}
}