diff --git a/packages/email/template-components/template-footer.tsx b/packages/email/template-components/template-footer.tsx index ee395a1e9..7f93f0063 100644 --- a/packages/email/template-components/template-footer.tsx +++ b/packages/email/template-components/template-footer.tsx @@ -1,14 +1,20 @@ import { Link, Section, Text } from '@react-email/components'; -export const TemplateFooter = () => { +export type TemplateFooterProps = { + isDocument?: boolean; +}; + +export const TemplateFooter = ({ isDocument = true }: TemplateFooterProps) => { return (
- - This document was sent using{' '} - - Documenso. - - + {isDocument && ( + + This document was sent using{' '} + + Documenso. + + + )} Documenso diff --git a/packages/email/templates/forgot-password.tsx b/packages/email/templates/forgot-password.tsx index 5f1db1afc..ab3db58f5 100644 --- a/packages/email/templates/forgot-password.tsx +++ b/packages/email/templates/forgot-password.tsx @@ -62,7 +62,7 @@ export const ForgotPasswordTemplate = ({
- +
diff --git a/packages/email/templates/reset-password.tsx b/packages/email/templates/reset-password.tsx index ce06acbd1..35881fe72 100644 --- a/packages/email/templates/reset-password.tsx +++ b/packages/email/templates/reset-password.tsx @@ -90,7 +90,7 @@ export const ResetPasswordTemplate = ({
- +