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

Styled component error #14

Open
rahman-jn opened this issue Mar 5, 2022 · 1 comment
Open

Styled component error #14

rahman-jn opened this issue Mar 5, 2022 · 1 comment

Comments

@rahman-jn
Copy link

I got this error when using styled component and the css styles of the navbar has been broken:

next-dev.js?3515:32 Warning: Prop className did not match. Server: "MuiTypography-root MuiTypography-body1 makeStyles-brand-98 css-ahj2mt-MuiTypography-root" Client: "MuiTypography-root MuiTypography-body1 makeStyles-brand-2 css-ahj2mt-MuiTypography-root"

@eminbasbayan
Copy link

eminbasbayan commented Mar 10, 2022

I got this error when using styled component and the css styles of the navbar has been broken:

next-dev.js?3515:32 Warning: Prop className did not match. Server: "MuiTypography-root MuiTypography-body1 makeStyles-brand-98 css-ahj2mt-MuiTypography-root" Client: "MuiTypography-root MuiTypography-body1 makeStyles-brand-2 css-ahj2mt-MuiTypography-root"

image

I got a similar error too. I guess it has to do with the up-to-dateness of the _document page. were you able to solve the problem?

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

2 participants