Closed AyushAgrawal-A2 closed 1 month ago
Latest commit: 353af4c171747b778ae6012d65a8b9762f8f095c
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Name | Link |
---|---|
Latest commit | 353af4c171747b778ae6012d65a8b9762f8f095c |
Latest deploy log | https://app.netlify.com/sites/evidence-development-workspace/deploys/661a65e28be9640008d53431 |
Deploy Preview | https://deploy-preview-1884--evidence-development-workspace.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Name | Link |
---|---|
Latest commit | 353af4c171747b778ae6012d65a8b9762f8f095c |
Latest deploy log | https://app.netlify.com/sites/next-docs-evidence/deploys/661a65e35723570008fc5bd2 |
Deploy Preview | https://deploy-preview-1884--next-docs-evidence.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Description
closes #1797
Changes:
if
check -if (a.frontMatter?.sidebar_position && b.frontMatter?.sidebar_position)
, we need to check whether thesidebar_position
value exists. However 0 being a falsy value, ifsidebar_position
is 0 then also the check evaluates to false. This is fixed by usingisNaN
function.sidebar_position
forAll Components
in docs from -1 to 0, where -1 was used as a workaround.Checklist