refine
refine copied to clipboard
[BUG] MUI Grid2
Describe the bug
Module not found: Can't resolve '@mui/material/Grid2' in '/Users/garrylachman/github/ai-rehab/node_modules/.pnpm/@[email protected]_b5e64c5c7460eddc260893860f46460b/node_modules/@refinedev/mui/dist'
╭─[1199:0]
1197 │ import Tooltip2 from "@mui/material/Tooltip";
1198 │ import Typography3 from "@mui/material/Typography";
1199 │ import Grid from "@mui/material/Grid2";
· ───────────────────────────────────────
1200 │ import Info from "@mui/icons-material/esm/Info";
1201 │ var ErrorComponent = /* @__PURE__ */ __name(() => {
Grid2 is replaced by Grid.
Steps To Reproduce
...
Expected behavior
import Grid from "@mui/material/Grid2" or import Grid from "@mui/material"
Packages
- @refinedev/mui@7
Additional Context
No response
Hi 👋, I’m interested in contributing to this project and came across this issue. Could you please confirm if this issue is still open and needs work, or if someone is already working on it? Thanks
Hello @garrylachman, which version of "@mui/material" are you using? Sorry for the confusion, but it needs to be 6.x.x to work properly with Refine.