diff --git a/packages/material-ui-system/src/GlobalCss/GlobalCss.js b/packages/material-ui-system/src/GlobalCss/GlobalCss.js index 6f99f48550d182..06ff3f56e0ead4 100644 --- a/packages/material-ui-system/src/GlobalCss/GlobalCss.js +++ b/packages/material-ui-system/src/GlobalCss/GlobalCss.js @@ -6,17 +6,20 @@ import typography from './typography'; import positions from './positions'; import displays from './displays'; -const GlobalCss = withStyles((theme) => { - return { - '@global': { - ...spacings(theme), - ...colors(theme), - ...elevations(theme), - ...typography(theme), - ...positions(theme), - ...displays(theme), - }, - }; -}, { index: 0 })(() => null); +const GlobalCss = withStyles( + (theme) => { + return { + '@global': { + ...spacings(theme), + ...colors(theme), + ...elevations(theme), + ...typography(theme), + ...positions(theme), + ...displays(theme), + }, + }; + }, + { index: 0 }, +)(() => null); export default GlobalCss;