summaryrefslogtreecommitdiff
path: root/source/features/quick-file-edit.tsx
diff options
context:
space:
mode:
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/>);
}
}