Skip to content

Commit d92a2fd

Browse files
committed
fix: update RepoEditLink to use 'edit' for correct GitHub file editing URL
1 parent 5256c52 commit d92a2fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/EditPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {ExternalLink} from './ExternalLink';
22
import {IconGitHub} from './Icon/IconGitHub';
33

4-
const RepoEditLink = `https://github.com/reactjs/react.dev/blob/main/`;
4+
const RepoEditLink = `https://github.com/reactjs/react.dev/edit/main/`;
55

66
type EditPageProps = {
77
path: string;

0 commit comments

Comments
 (0)