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] - <a> cannot appear as a descendant of <a> #4256

Closed
wingkwong opened this issue Dec 7, 2024 · 2 comments · Fixed by #4286
Closed

[BUG] - <a> cannot appear as a descendant of <a> #4256

wingkwong opened this issue Dec 7, 2024 · 2 comments · Fixed by #4286
Assignees
Labels
📦 Scope : Components Related to the components 🐛 Type: Bug Something isn't working

Comments

@wingkwong
Copy link
Member

NextUI Version

2.6.3

Describe the bug

[<a> cannot appear as a descendant of <a>.](client.js:85 Warning: validateDOMNesting(...): <a> cannot appear as a descendant of <a>.)

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

as={Link} to the DropdownItem

Expected behavior

a tag shouldn't be added to another a tag

Screenshots or Videos

No response

Operating System Version

macOS

Browser

Chrome

@wingkwong wingkwong self-assigned this Dec 7, 2024
@wingkwong wingkwong added 🐛 Type: Bug Something isn't working 📦 Scope : Components Related to the components labels Dec 7, 2024
Copy link

linear bot commented Dec 7, 2024

@wingkwong
Copy link
Member Author

introduced from #4168

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 Scope : Components Related to the components 🐛 Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants