nextui
nextui copied to clipboard
fix(components): accordion component throws "validateDOMNesting" erro…
Closes #2168
📝 Description
The accordion component throws a "validateDOMNesting" error on the storybook
⛳️ Current behavior (updates)
When you open up the Accordion component(Custom with classNames) on the storyboard, you will get an error console message that says "validateDOMNesting(...) cannot appear as a descendant of p".(the pic below)
🚀 New behavior
There are no errors in the console.
💣 Is this a breaking change (Yes/No):
No.
📝 Additional Information
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
nextui-storybook-v2 | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Mar 3, 2024 10:38pm |
⚠️ No Changeset found
Latest commit: db21edfa5465ed395e8531e0ced56280b322f9ae
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
@kuri-sun is attempting to deploy a commit to the NextUI Team on Vercel.
A member of the Team first needs to authorize it.
@kuri-sun sorry, could you please modify this component code as well? https://nextui.org/docs/components/accordion#start-content
@jrgarciadev Absolutely
@jrgarciadev The requested change was modified. Thank you! 😄
@kuri-sun could you please update this as well? https://vscode.dev/github/nextui-org/nextui/blob/main/apps/docs/content/components/accordion/custom-styles.ts#L217
@junior Of course, immediately!