MUI: removes deprecated theme.spacing.unit

master
Andrew P Maney 5 years ago committed by Tom Hacohen
parent 059abe4807
commit 41029c1da9

@ -115,10 +115,10 @@ type CollectionRoutesPropsType = RouteComponentProps<{}> & {
const styles = (theme: any) => ({ const styles = (theme: any) => ({
button: { button: {
marginLeft: theme.spacing.unit, marginLeft: theme.spacing(1),
}, },
leftIcon: { leftIcon: {
marginRight: theme.spacing.unit, marginRight: theme.spacing(1),
}, },
}); });

Loading…
Cancel
Save