From eda98d34ca15abafcc40391a713bc73a05a868bb Mon Sep 17 00:00:00 2001 From: martmull Date: Wed, 11 Sep 2024 10:33:37 +0200 Subject: [PATCH] Remove useless changes --- packages/twenty-emails/src/components/BaseEmail.tsx | 8 ++------ .../twenty-emails/src/emails/workflow-action.email.tsx | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/packages/twenty-emails/src/components/BaseEmail.tsx b/packages/twenty-emails/src/components/BaseEmail.tsx index 8222958ba88f1..f2c6f4bba3d72 100644 --- a/packages/twenty-emails/src/components/BaseEmail.tsx +++ b/packages/twenty-emails/src/components/BaseEmail.tsx @@ -9,16 +9,12 @@ type BaseEmailProps = PropsWithChildren<{ withLogo?: boolean; }>; -export const BaseEmail = ({ - children, - width, - withLogo = true, -}: BaseEmailProps) => { +export const BaseEmail = ({ children, width }: BaseEmailProps) => { return ( - {withLogo && } + {children} diff --git a/packages/twenty-emails/src/emails/workflow-action.email.tsx b/packages/twenty-emails/src/emails/workflow-action.email.tsx index cb0e2d6e5d7db..2eaa3a451ebb8 100644 --- a/packages/twenty-emails/src/emails/workflow-action.email.tsx +++ b/packages/twenty-emails/src/emails/workflow-action.email.tsx @@ -16,7 +16,7 @@ export const WorkflowActionEmail = ({ callToAction, }: WorkflowActionEmailProps) => { return ( - + {title && } {dangerousHTML && ( <div dangerouslySetInnerHTML={{ __html: dangerousHTML }} />