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), }, });