Skip to content

Commit

Permalink
[CssBaseline] Use es5 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed May 2, 2019
1 parent 154d219 commit 6791d1a
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 6791d1a

Please sign in to comment.