Skip to content

Commit

Permalink
remove check from createMuiTheme
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Oct 1, 2019
1 parent d9bf54f commit bda3e92
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/material-ui/src/styles/createMuiTheme.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,6 @@ function createMuiTheme(options = {}) {
traverse(muiTheme.overrides);
}

if (process.env.NODE_ENV !== 'production') {
if (muiTheme.shadows.length !== 25) {
console.error(
'Material-UI: the shadows array provided to createMuiTheme should support 25 elevations.',
);
}
}

return muiTheme;
}

Expand Down

0 comments on commit bda3e92

Please sign in to comment.