Skip to content

Commit

Permalink
Merge pull request #4265 from WiXSL/patch-mui-imports
Browse files Browse the repository at this point in the history
Improve @material-ui includes.
  • Loading branch information
fzaninotto authored Jan 9, 2020
2 parents c633422 + 762353a commit af1e0b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/simple/src/Layout.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { forwardRef } from 'react';
import { Layout, AppBar, UserMenu, useLocale, useSetLocale } from 'react-admin';
import { makeStyles, MenuItem, ListItemIcon } from '@material-ui/core';
import { Language } from '@material-ui/icons';
import Language from '@material-ui/icons/Language';

const useStyles = makeStyles(theme => ({
menuItem: {
Expand Down
2 changes: 1 addition & 1 deletion packages/ra-ui-materialui/src/field/ReferenceField.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import classnames from 'classnames';
import get from 'lodash/get';
import { makeStyles } from '@material-ui/core/styles';
import { Error as ErrorIcon } from '@material-ui/icons';
import ErrorIcon from '@material-ui/icons/Error';
import { useReference, getResourceLinkPath } from 'ra-core';

import LinearProgress from '../layout/LinearProgress';
Expand Down

0 comments on commit af1e0b3

Please sign in to comment.