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

fix: pass menu separator ref #1847

Merged
merged 1 commit into from
Feb 4, 2025
Merged

fix: pass menu separator ref #1847

merged 1 commit into from
Feb 4, 2025

Conversation

remidej
Copy link
Contributor

@remidej remidej commented Feb 4, 2025

What does it do?

Attaches forwardRef's ref in simple menu separator

Why is it needed?

Forward ref wasn't doing anything, and more importantly it was breaking the unit tests of the CMS because of this error:

Warning: forwardRef render functions accept exactly two parameters: props and ref. Did you forget to use the ref parameter?

Related issue(s)/PR(s)

was missing in #1846

@remidej remidej added pr: fix This PR is fixing a bug source: design-system relates to design-system package labels Feb 4, 2025
@remidej remidej requested a review from markkaylor February 4, 2025 09:33
@remidej remidej self-assigned this Feb 4, 2025
Copy link

vercel bot commented Feb 4, 2025

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

Name Status Preview Comments Updated (UTC)
design-system ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 4, 2025 9:33am

Copy link

changeset-bot bot commented Feb 4, 2025

🦋 Changeset detected

Latest commit: c7f1879

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@strapi/design-system Patch
@strapi/icons Patch
@strapi/ui-primitives Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@remidej remidej merged commit e25a380 into main Feb 4, 2025
11 checks passed
@remidej remidej deleted the fix/separator-ref branch February 4, 2025 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: fix This PR is fixing a bug source: design-system relates to design-system package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants