nextra icon indicating copy to clipboard operation
nextra copied to clipboard

fix: when page is a webpage, navlink cannot nav

Open Map1en opened this issue 2 years ago • 3 comments

When a page's meta information has an "href" field, the NavLink below the page will not have navigation functionality. If the href page is the last one, the navigation link will be for the current page. I have fixed this issue, and now the links can be clicked to navigate. However, I am unsure if I have correctly used the TypeScript type definitions.

Map1en avatar Jan 14 '24 08:01 Map1en

⚠️ No Changeset found

Latest commit: 81ab79bd9d42b56afeff149cb583f5f4ae59c176

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Jan 14 '24 08:01 changeset-bot[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nextra-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 14, 2024 8:33am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
nextra ⬜️ Ignored (Inspect) Visit Preview Jan 14, 2024 8:33am

vercel[bot] avatar Jan 14 '24 08:01 vercel[bot]

@Map1en is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Jan 14 '24 08:01 vercel[bot]