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

bug: using NavLink for menus #1530

Merged
merged 3 commits into from
May 17, 2022
Merged

Conversation

Kira-Pilot
Copy link
Member

resolves #955

Small fix where we make path required and use NavLink to navigate.

I wanted to clean up active styles a bit and get rid of the onClick handler with activeClassName and isActive but sadly these props aren't in the latest release of react router. There's already an open ticket in their repo that I'm subscribed to so we can clean things up in the future.

@Kira-Pilot Kira-Pilot requested a review from a team as a code owner May 17, 2022 18:22
Copy link
Contributor

@greyscaled greyscaled left a comment

Choose a reason for hiding this comment

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

This looks great, just we need to also update the story for BorderedMenu

BorderedMenu

@greyscaled
Copy link
Contributor

Hey @Kira-Pilot , can you update your branch to latest main - should help CI run. Looks great!

@Kira-Pilot Kira-Pilot merged commit 65acfc9 into main May 17, 2022
@Kira-Pilot Kira-Pilot deleted the remove-onclick-bmenu/kira-pilot branch May 17, 2022 19:01
kylecarbs pushed a commit that referenced this pull request Jun 10, 2022
* bug: using NavLink for menus

resolves #955

* lets fix our story
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.

Remove onClick from BorderedMenu
2 participants