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

Nav Link doesn't work when screen width below 1080px #449

Open
pepperstepper opened this issue Jun 10, 2023 · 1 comment
Open

Nav Link doesn't work when screen width below 1080px #449

pepperstepper opened this issue Jun 10, 2023 · 1 comment

Comments

@pepperstepper
Copy link

The links at the top of the page don't work when the media query returns the screen width as 1080px. It seems to route to / always. Unsure the reason right now, as the code in components/Title seems quite similar to components/SideNav, which works. I tried adding withRouter and no luck there either.

@pepperstepper
Copy link
Author

Okay I found the issue, there is a onClick event on the TitleWrapper component which triggers a redirect to /,

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