diff --git a/packages/ra-ui-materialui/src/detail/Edit.js b/packages/ra-ui-materialui/src/detail/Edit.js index 5c39955a247..1315308dce0 100644 --- a/packages/ra-ui-materialui/src/detail/Edit.js +++ b/packages/ra-ui-materialui/src/detail/Edit.js @@ -70,7 +70,7 @@ Edit.propTypes = { successMessage: PropTypes.string, }; -export const useStyles = makeStyles({ +const useStyles = makeStyles({ root: {}, main: { display: 'flex', diff --git a/packages/ra-ui-materialui/src/detail/Show.js b/packages/ra-ui-materialui/src/detail/Show.js index 6b6ba148924..a5b9d0f3441 100644 --- a/packages/ra-ui-materialui/src/detail/Show.js +++ b/packages/ra-ui-materialui/src/detail/Show.js @@ -67,7 +67,7 @@ Show.propTypes = { title: PropTypes.node, }; -export const useStyles = makeStyles({ +const useStyles = makeStyles({ root: {}, main: { display: 'flex', diff --git a/packages/ra-ui-materialui/src/list/List.js b/packages/ra-ui-materialui/src/list/List.js index 01a28c4e2e6..776898dba11 100644 --- a/packages/ra-ui-materialui/src/list/List.js +++ b/packages/ra-ui-materialui/src/list/List.js @@ -19,7 +19,7 @@ import DefaultActions from './ListActions'; const DefaultBulkActionButtons = props => ; -export const useStyles = makeStyles(theme => ({ +const useStyles = makeStyles(theme => ({ root: {}, main: { display: 'flex',