();
const { brandingState } = useElementCustomizeContext()
- const mergedProps: EstimatePaperTemplateProps = { ...values, ...brandingState }
+ const mergedProps: EstimatePaperTemplateProps = { ...brandingState, ...values, }
return ;
}
diff --git a/packages/webapp/src/containers/Sales/Invoices/InvoiceCustomize/InvoiceCustomizeContent.tsx b/packages/webapp/src/containers/Sales/Invoices/InvoiceCustomize/InvoiceCustomizeContent.tsx
index 2b021b324..17b452265 100644
--- a/packages/webapp/src/containers/Sales/Invoices/InvoiceCustomize/InvoiceCustomizeContent.tsx
+++ b/packages/webapp/src/containers/Sales/Invoices/InvoiceCustomize/InvoiceCustomizeContent.tsx
@@ -63,7 +63,7 @@ const withInvoicePreviewTemplateProps = (
const { values } = useFormikContext();
const { brandingState, } = useElementCustomizeContext();
- const mergedProps: InvoicePaperTemplateProps = { ...brandingState, ...values }
+ const mergedProps: InvoicePaperTemplateProps = { ...brandingState, ...values };
return ;
};