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

fixed active menu option issue #196

Merged
merged 15 commits into from
Oct 15, 2023

Conversation

Huzaifa785
Copy link
Contributor

Fixes Issue

Fixed #195

Changes proposed

  • My code follows the code style of this project.
  • [] My change requires changes to the documentation.
  • [] I have updated the documentation accordingly.
  • All new and existing tests passed.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

Screenshots

Screenshot 2023-10-11 at 9 57 03 PM

Note to reviewers

I fixed the issue and now whichever page we go to, that nav option will be active respectively.

@vercel
Copy link

vercel bot commented Oct 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
frontendfreaks ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 13, 2023 1:27pm

Copy link
Member

@Vishal-raj-1 Vishal-raj-1 left a comment

Choose a reason for hiding this comment

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

don't change the formatting of the file, it makes lots of unnecessary changes and is very hard to review.

Fix this formatting

@@ -107,7 +107,7 @@ export function DocsSidebarNavItem({
"bg-muted": pathname === item.href,
})}
>
{item.title}
{item.title}uh
Copy link
Member

Choose a reason for hiding this comment

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

remove "uh"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

will remove it soon

)}
</>
);
)} */}
Copy link
Member

Choose a reason for hiding this comment

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

why did you comment this section?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sorry, I was testing something, I am making this file proper as well

@Huzaifa785
Copy link
Contributor Author

I made the changes ✅

@Vishal-raj-1 Vishal-raj-1 merged commit fc30587 into FrontendFreaks:master Oct 15, 2023
3 checks passed
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.

Fix Menu Option Active State Detection Issue
6 participants