Skip to content

Commit c20a741

Browse files
fix: use the github edit url (#397)
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
1 parent fee1ad3 commit c20a741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/Doc.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export function Doc({
125125
<div className="w-full h-px bg-gray-500 opacity-30" />
126126
<div className="py-4 opacity-70">
127127
<a
128-
href={`https://github.com/${repo}/tree/${branch}/${filePath}`}
128+
href={`https://github.com/${repo}/edit/${branch}/${filePath}`}
129129
className="flex items-center gap-2"
130130
>
131131
<FaEdit /> Edit on GitHub

0 commit comments

Comments
 (0)