Skip to content

Commit

Permalink
Fix json-schema-org#1111 redirecting issue in Get Started
Browse files Browse the repository at this point in the history
  • Loading branch information
Utkarsh-123github committed Dec 3, 2024
1 parent 1666a67 commit 98c88a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/DocsHelp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ export function DocsHelp({ markdownFile }: DocsHelpProps) {
target='_blank'
rel='noreferrer'
className='px-[16px] py-[8px] cursor-pointer border-solid border-[#aaaaaa] border rounded-md hover:bg-gray-200 dark:hover:bg-gray-600'
href={`https://github.com/json-schema-org/website/blob/main/pages${markdownFile ? (markdownFile === '_indexPage' ? extractPathWithoutFragment(router.asPath) + '/_index.md' : extractPathWithoutFragment(router.asPath) + '.md') : `/${path}/index.page.tsx`}`}
href={`https://github.com/json-schema-org/website/blob/main/pages${markdownFile ? (markdownFile === '_indexPage' ? extractPathWithoutFragment(router.asPath) + '/' : extractPathWithoutFragment(router.asPath) + '.md') : `/${path}/index.page.tsx`}`}
data-test='edit-on-github-link'
>
<svg
Expand Down

0 comments on commit 98c88a9

Please sign in to comment.