-
Notifications
You must be signed in to change notification settings - Fork 266
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
Next.js - className doesn't match from Server to Client #495
Comments
I'm getting a very similar error: |
@redbaron76 @FunctionDJ have you tried specifying |
@robmadole i'm using neither ids nor titleIds :V |
@FunctionDJ ah, sorry we've got two different bugs here. Will you create an issue with your error separate from this? Your issues is not related to the OP. I think I have a fix for your issue once you do that. @redbaron76 it's the extra space that is causing a problem for you. We'll see if we can get that taken care of. |
I have the same warning about the
With
It might be related to the unfinished internal migration from |
In Next.js there's a mismatch between the classes printed in
className
on the Server and the ones in Client.The Client adds a space at the end of the concatenation of classes, causing the mismatch.
In example:
Warning: Prop className did not match. Server: "svg-inline--fa fa-mug-saucer" Client: "svg-inline--fa fa-mug-saucer "
The text was updated successfully, but these errors were encountered: