Skip to content

Commit

Permalink
[CssBaseline] Use es5 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon authored and oliviertassinari committed May 4, 2019
1 parent 143ec32 commit c636219
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/material-ui/src/CssBaseline/CssBaseline.js
Expand Up @@ -34,7 +34,8 @@ const useStyles = makeStyles(
/**
* Kickstart an elegant, consistent, and simple baseline to build upon.
*/
function CssBaseline({ children = null }) {
function CssBaseline(props) {
const { children = null } = props;
useStyles();
return <React.Fragment>{children}</React.Fragment>;
}
Expand Down

0 comments on commit c636219

Please sign in to comment.