Fix MaterialUI errors & warnings
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
This commit is contained in:
@@ -24,7 +24,12 @@ const useStyles = makeStyles((theme: Theme) => ({
|
||||
minWidth: 0,
|
||||
paddingTop: theme.spacing(3),
|
||||
paddingBottom: theme.spacing(3),
|
||||
...theme.mixins.gutters({}),
|
||||
paddingLeft: theme.spacing(2),
|
||||
paddingRight: theme.spacing(2),
|
||||
[theme.breakpoints.up('sm')]: {
|
||||
paddingLeft: theme.spacing(3),
|
||||
paddingRight: theme.spacing(3),
|
||||
},
|
||||
},
|
||||
stretch: {
|
||||
display: 'flex',
|
||||
|
||||
@@ -167,7 +167,7 @@ export const SidebarItem = forwardRef<any, SidebarItemProps>((props, ref) => {
|
||||
<Badge
|
||||
color="secondary"
|
||||
variant="dot"
|
||||
overlap="circle"
|
||||
overlap="circular"
|
||||
invisible={!hasNotifications}
|
||||
>
|
||||
<Icon fontSize="small" />
|
||||
|
||||
@@ -86,7 +86,7 @@ export const AddShortcut = ({ onClose, anchorEl, api }: Props) => {
|
||||
<Popover
|
||||
open={open}
|
||||
anchorEl={anchorEl}
|
||||
onExit={handleClose}
|
||||
TransitionProps={{ onExit: handleClose }}
|
||||
onClose={onClose}
|
||||
anchorOrigin={{
|
||||
vertical: 'top',
|
||||
|
||||
Reference in New Issue
Block a user