mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
fix: Estimate customize values
This commit is contained in:
@@ -63,7 +63,7 @@ const withInvoicePreviewTemplateProps = <P extends object>(
|
||||
const { values } = useFormikContext<InvoiceCustomizeFormValues>();
|
||||
const { brandingState, } = useElementCustomizeContext();
|
||||
|
||||
const mergedProps: InvoicePaperTemplateProps = { ...brandingState, ...values }
|
||||
const mergedProps: InvoicePaperTemplateProps = { ...brandingState, ...values };
|
||||
|
||||
return <Component {...(props as P)} {...mergedProps} />;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user