From 41029c1da99e750e1b0fed8f919cb9c1ca353dd4 Mon Sep 17 00:00:00 2001 From: Andrew P Maney Date: Fri, 28 Feb 2020 21:59:32 -0800 Subject: [PATCH] MUI: removes deprecated theme.spacing.unit --- src/Pim/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Pim/index.tsx b/src/Pim/index.tsx index 4167e5c..cdfbed8 100644 --- a/src/Pim/index.tsx +++ b/src/Pim/index.tsx @@ -115,10 +115,10 @@ type CollectionRoutesPropsType = RouteComponentProps<{}> & { const styles = (theme: any) => ({ button: { - marginLeft: theme.spacing.unit, + marginLeft: theme.spacing(1), }, leftIcon: { - marginRight: theme.spacing.unit, + marginRight: theme.spacing(1), }, });