We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I don't believe this matches issues like #28272 or #27512 as they seem to deal with V5 while I am not using the beta.
Using the given Next.JS example provided at https://github.com/mui-org/material-ui/tree/master/examples/nextjs and adding in a very simple page causes a prop className did not match error.
The page in question is very simple.
import Box from "@material-ui/core/Box"; const Starter = (props) => { return ( <div> <Box display='flex'> </Box> </div> ) } export default Starter;
Codesandbox: https://codesandbox.io/s/blissful-pine-8w7tv?file=/pages/starter.js
(I added @material-ui/core as a dependency as it wasn't already and is required for this to happen)
System: OS: Windows 10 10.0.19043 Binaries: Node: 13.8.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD npm: 6.13.6 - C:\Program Files\nodejs\npm.CMD Browsers: Chrome: 93.0.4577.82 Edge: Spartan (44.19041.1023.0), Chromium (93.0.961.52) npmPackages: @types/react: 17.0.20 react: 17.0.2 => 17.0.2 react-dom: 17.0.2 => 17.0.2
I use Google Chrome/
The text was updated successfully, but these errors were encountered:
The example in https://github.com/mui-org/material-ui/tree/master/examples/nextjs is for v5. If you want to use v4, use https://github.com/mui-org/material-ui/tree/v4.x/examples/nextjs instead.
Sorry, something went wrong.
Still having the same issues regardless of which example I use.
I haven't touched any other files. Simply creating a box doesn't work.
No branches or pull requests
I don't believe this matches issues like #28272 or #27512 as they seem to deal with V5 while I am not using the beta.
Using the given Next.JS example provided at https://github.com/mui-org/material-ui/tree/master/examples/nextjs and adding in a very simple page causes a prop className did not match error.
The page in question is very simple.
Steps to Reproduce 🕹
Codesandbox: https://codesandbox.io/s/blissful-pine-8w7tv?file=/pages/starter.js
(I added @material-ui/core as a dependency as it wasn't already and is required for this to happen)
Context 🔦
Your Environment 🌎
`npx @mui/envinfo`
System:
OS: Windows 10 10.0.19043
Binaries:
Node: 13.8.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.13.6 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 93.0.4577.82
Edge: Spartan (44.19041.1023.0), Chromium (93.0.961.52)
npmPackages:
@types/react: 17.0.20
react: 17.0.2 => 17.0.2
react-dom: 17.0.2 => 17.0.2
I use Google Chrome/
The text was updated successfully, but these errors were encountered: