Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed May 6, 2021
1 parent 903691d commit 086b23f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/Theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ import Badge from '@material-ui/core/Badge';
} />
```

The `icon` prop allows to set the menu left icon.
The `letfIcon` prop allows to set the menu left icon.

Additional props are passed down to [the underling material-ui `<MenuItem>` component](https://material-ui.com/api/menu-item/#menuitem-api).

Expand Down
1 change: 0 additions & 1 deletion packages/ra-ui-materialui/src/layout/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import PropTypes from 'prop-types';
import { shallowEqual, useSelector } from 'react-redux';
import lodashGet from 'lodash/get';
// @ts-ignore
import { useMediaQuery, Theme } from '@material-ui/core';
import { makeStyles } from '@material-ui/core/styles';
import DefaultIcon from '@material-ui/icons/ViewList';
import classnames from 'classnames';
Expand Down
2 changes: 1 addition & 1 deletion packages/ra-ui-materialui/src/layout/Sidebar.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import { Children, cloneElement, ReactElement } from 'react';
import { ReactElement } from 'react';
import PropTypes from 'prop-types';
import { useDispatch, useSelector } from 'react-redux';
import { Drawer, DrawerProps, useMediaQuery, Theme } from '@material-ui/core';
Expand Down

0 comments on commit 086b23f

Please sign in to comment.