From 721b9ec2990f3bd044bcaa6688c6755bccb2c9f2 Mon Sep 17 00:00:00 2001 From: Alexandre Monjol Date: Tue, 2 Jul 2024 17:20:57 +0200 Subject: [PATCH 1/2] misc: change small button spacing --- src/styles/muiTheme.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/styles/muiTheme.ts b/src/styles/muiTheme.ts index a60e02992..143723d86 100644 --- a/src/styles/muiTheme.ts +++ b/src/styles/muiTheme.ts @@ -469,17 +469,17 @@ export const theme = createTheme({ }, sizeSmall: { height: '32px', - padding: '4px', + padding: '10px 12px', borderRadius: '8px', '&.button-icon-only': { width: '24px', height: '24px', }, '.MuiButton-endIcon': { - marginLeft: '4px', + marginLeft: '8px', }, '.MuiButton-startIcon': { - marginRight: '4px', + marginRight: '8px', }, }, sizeLarge: { From e0b29ba35b3870a9b6f108030878d3062280cc90 Mon Sep 17 00:00:00 2001 From: Alexandre Monjol Date: Tue, 2 Jul 2024 17:21:10 +0200 Subject: [PATCH 2/2] misc: silent deps warning --- src/components/customers/addDrawer/AddCustomerDrawer.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/customers/addDrawer/AddCustomerDrawer.tsx b/src/components/customers/addDrawer/AddCustomerDrawer.tsx index 2980dd2e9..905b16204 100644 --- a/src/components/customers/addDrawer/AddCustomerDrawer.tsx +++ b/src/components/customers/addDrawer/AddCustomerDrawer.tsx @@ -230,6 +230,8 @@ export const AddCustomerDrawer = forwardRef((_, ref) => { zipcode: formikProps.values.zipcode, }) } + + // eslint-disable-next-line react-hooks/exhaustive-deps }, [ formikProps.values.addressLine1, formikProps.values.addressLine2,