Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes selected state in top navigation #618

Merged
merged 2 commits into from
Aug 4, 2023

Conversation

josepmartins
Copy link
Contributor

Add missing pathPrefix to the selected state in Underlinenav items

@changeset-bot
Copy link

changeset-bot bot commented Aug 4, 2023

🦋 Changeset detected

Latest commit: cc6506a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/gatsby-theme-doctocat Patch

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

Comment on lines +144 to +146
console.log('header url', siteMetadata.header.url)
console.log('pathPrefix', pathPrefix)
console.log('path', path)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thinking of adding these logs to check values in prod. Not sure if there's a better way to do it 😢

@josepmartins josepmartins merged commit 545c1ef into main Aug 4, 2023
4 checks passed
@josepmartins josepmartins deleted the josepmartins/selected-nav-fixes branch August 4, 2023 13:00
@primer-css primer-css mentioned this pull request Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants