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

React warning after update to 2.1.4 #93

Closed
ivan-kleshnin opened this issue Apr 16, 2024 · 1 comment
Closed

React warning after update to 2.1.4 #93

ivan-kleshnin opened this issue Apr 16, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ivan-kleshnin
Copy link

ivan-kleshnin commented Apr 16, 2024

Describe the bug

After an update from 2.1.3 to 2.1.4 (but also NextJS/React updates so I can't precisely trace the reason) I've started to receive this warning:

Warning: React does not recognize the `dataSlot` prop on a DOM element. 
If you intentionally want it to appear in the DOM as a custom attribute, 
spell it as lowercase `dataslot` instead. If you accidentally passed 
it from a parent component, remove it from the DOM element.
    at svg
    at IconBase
    at HiOutlineUsers
    at div

I don't have dataSlot anywhere in the code so it should be something internal to the library.

@ivan-kleshnin ivan-kleshnin added the bug Something isn't working label Apr 16, 2024
@ivan-kleshnin ivan-kleshnin changed the title React warning after uodate React warning after update to 2.1.4 Apr 16, 2024
@rektdeckard
Copy link
Member

rektdeckard commented Apr 18, 2024

We don't use this prop either, but we do respect spread props. I'm going to assume given the timing and the component name that appears in the error that you are using react-icons, and that this issue is identical to react-icons/react-icons#931.

@rektdeckard rektdeckard closed this as not planned Won't fix, can't repro, duplicate, stale Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants