-
-
Notifications
You must be signed in to change notification settings - Fork 56
Closed
Labels
integration: nextjsNext.jsNext.jstype: bugIt doesn't behave as expected.It doesn't behave as expected.
Description
Steps to reproduce
Renders the Stack with sx prop:
import Stack from "@mui/material-pigment-css/Stack";
<Stack sx={{}} />Current behavior
Got this error:
Without using sx prop, it works fine.
Also, vite has no issue, so I think this is nextjs-plugin specific
Expected behavior
Should not throw errors
Context
Found this issue from mui/material-ui#43065 (review)
Your environment
npx @mui/envinfo
Don't forget to mention which browser you used.
Output from `npx @mui/envinfo` goes here.
Search keywords: sx error
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
integration: nextjsNext.jsNext.jstype: bugIt doesn't behave as expected.It doesn't behave as expected.