Skip to content

Commit

Permalink
added to allowlisted components
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova committed Aug 10, 2020
1 parent a852622 commit f846f49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/material-ui-styles/src/makeStyles/makeStyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ export default function makeStyles(stylesOrCreator, options = {}) {
React.useDebugValue(classes);
}
if (process.env.NODE_ENV !== 'production') {
const allowlistedComponents = ['MuiButton', 'MuiTypography'];
const allowlistedComponents = ['MuiButton', 'MuiTypography', 'MuiBadge'];

if (
name &&
Expand Down

0 comments on commit f846f49

Please sign in to comment.