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

fix: spread style object before deleting variants #364

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

brijeshb42
Copy link
Contributor

This was mutating the original theme object resulting in different codes for server and client components.

Fixes: mui/material-ui#44675

This was mutating the original theme object resulting in different codes
for server and client components.

Fixes: mui/material-ui#44675
@brijeshb42 brijeshb42 added bug 🐛 Something doesn't work React labels Jan 9, 2025
@brijeshb42 brijeshb42 requested a review from mnajdova January 9, 2025 14:47
Copy link
Member

@siriwatknp siriwatknp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@brijeshb42 brijeshb42 merged commit 1265dc1 into mui:master Jan 14, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work React
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hydration Error in React 19 with Pigment CSS and MuiSvgIcon fontSize prop
2 participants