Skip to content

Commit

Permalink
Add name property to Layout
Browse files Browse the repository at this point in the history
  • Loading branch information
leonidasv committed Feb 4, 2020
1 parent 740b9b6 commit 20e7945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ra-ui-materialui/src/layout/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand Down

0 comments on commit 20e7945

Please sign in to comment.