audacity / audacity/audacity.github.io
Active nav link state not showing
Open
- Dominant language
- TypeScript
- Stars
- 10
- Forks
- 8
- Avg merge
- 18m
- Merged PRs (30d)
- 5
Description
Run locally the active nav link renders blue:
This doesn't appear to be happening in our staging environment.
` function getUrlPath(url) {
const parts = url.split("/");
return "/" + parts[parts.length - 1];
}`
```
function renderNavLink(navLink, index) {
return (
{navLink.linkText}
);
}
```
Add console.log to above code to check what getUrlPath is returning on staging
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.