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

Warning: Prop id did not match. Server: "EZDrawer__checkboxelyhn" Client: "EZDrawer__checkboxghn8c" #38

Closed
gabriel-logan opened this issue Apr 17, 2024 · 1 comment

Comments

@gabriel-logan
Copy link

gabriel-logan commented Apr 17, 2024

image

my code

image

It's working, but it keeps this warning in the log

Im using nextjs14

@gabriel-logan
Copy link
Author

I solve passing

customIdSuffix="logan"

The problem is that the default value generates different values on the server and the client because of math random

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant