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

Incorrect page highlighted in header #46

Open
atomtay opened this issue Dec 23, 2020 · 0 comments
Open

Incorrect page highlighted in header #46

atomtay opened this issue Dec 23, 2020 · 0 comments

Comments

@atomtay
Copy link
Contributor

atomtay commented Dec 23, 2020

When directly accessing the report (/reports/1/) the "Data" link is highlighted, not the "Reports" link. However, if you navigate to the report from the homepage by clicking links, then "Reports" is correctly highlighted.

Example:
Screen Shot 2020-12-23 at 3 05 17 PM

Because this is only an issue in directly-visited links and not an issue with navigated-to links, the solution is probably buried somewhere in Gatsby state.

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

No branches or pull requests

1 participant