We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56281a4 commit 18adf5cCopy full SHA for 18adf5c
src/components/DocsNav.tsx
@@ -129,7 +129,7 @@ const DocsNav = ({ contentNotTranslated }: DocsNavProps) => {
129
let currentIndex = 0
130
for (let i = 0; i < docsArray.length; i++) {
131
if (
132
- asPath.indexOf(docsArray[i].to) > -1 &&
+ asPath.indexOf(docsArray[i].to) >= 0 &&
133
asPath.length === docsArray[i].to.length
134
) {
135
currentIndex = i
0 commit comments