fix the locale for path thing

pull/4660/head
Divyansh Singh 5 months ago
parent 5fdd3741c0
commit 0e48535eba

@ -83,7 +83,7 @@ export function getLocaleForPath(
(key) =>
key !== 'root' &&
!isExternal(key) &&
isActive(relativePath, `/${key}/`, true)
isActive(relativePath, `^/${key}/`, true)
) || 'root'
)
}

Loading…
Cancel
Save