diff --git a/packages/ra-ui-materialui/src/layout/Layout.js b/packages/ra-ui-materialui/src/layout/Layout.js index 5b6a42962be..b55a6152089 100644 --- a/packages/ra-ui-materialui/src/layout/Layout.js +++ b/packages/ra-ui-materialui/src/layout/Layout.js @@ -181,7 +181,7 @@ const EnhancedLayout = compose( {} // Avoid connect passing dispatch in props ), withRouter, - withStyles(styles) + withStyles(styles, { name: 'RaLayout' }) )(Layout); const LayoutWithTheme = ({ theme: themeOverride, ...props }) => {