Skip to content

Conversation

@siriwatknp
Copy link
Member

@siriwatknp siriwatknp commented Aug 8, 2024

Issue

This previous fix causes Material UI build fails because the SxProp tries to get theme from an empty ThemeArgs.

The reason that Pigment CSS did not catch the error in the PR is because the project has augmented the theme types in index.spec.ts which causes the build to pass.

Will need to move all spec in a separate test environment so that it catches errors like this before merging.

Copy link
Contributor

@brijeshb42 brijeshb42 left a comment

Choose a reason for hiding this comment

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

Does this need a release?

@siriwatknp
Copy link
Member Author

siriwatknp commented Aug 8, 2024

Does this need a release?

Yes. I will create one after testing this PR with the core repo. Tested, the build passed.

@siriwatknp siriwatknp merged commit ef5c37a into master Aug 8, 2024
@siriwatknp siriwatknp deleted the fix/sx-types branch August 8, 2024 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants