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

refactor: extracted some props to a context #1263

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

jaybuidl
Copy link
Member

@jaybuidl jaybuidl commented Oct 9, 2023

PR-Codex overview

This PR adds a MenuProvider context and updates components to use it. It also removes unnecessary props from components and simplifies their structure.

Detailed summary

  • Added MenuProvider context to manage menu state
  • Updated components to use useMenu hook instead of props for menu state
  • Removed unnecessary props from components

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Base automatically changed from feat(web)/notification-system to dev October 9, 2023 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant