Skip to content

Commit

Permalink
Update EditButton.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
bladey committed Aug 30, 2021
1 parent 9b02e0d commit b589151
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/components/primitives/EditButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ export function EditButton({
isIndexPage?: boolean;
editPath?: string;
}) {
let fileUrl = `https://github.com/keystonejs/keystone/edit/website_live/docs/pages/`;
let fileUrl = `https://github.com/keystonejs/keystone/edit/website_live/docs/pages`;

if (editPath) {
fileUrl += editPath;
fileUrl += `/${editPath}`;
} else if (isIndexPage) {
fileUrl += `${pathName}/index.tsx`;
} else {
Expand Down

0 comments on commit b589151

Please sign in to comment.