Skip to content

Commit

Permalink
Remove useless changes
Browse files Browse the repository at this point in the history
  • Loading branch information
martmull committed Sep 11, 2024
1 parent 77e78a8 commit eda98d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions packages/twenty-emails/src/components/BaseEmail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,12 @@ type BaseEmailProps = PropsWithChildren<{
withLogo?: boolean;
}>;

export const BaseEmail = ({
children,
width,
withLogo = true,
}: BaseEmailProps) => {
export const BaseEmail = ({ children, width }: BaseEmailProps) => {
return (
<Html lang="en">
<BaseHead />
<Container width={width || 290}>
{withLogo && <Logo />}
<Logo />
{children}
</Container>
</Html>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const WorkflowActionEmail = ({
callToAction,
}: WorkflowActionEmailProps) => {
return (
<BaseEmail withLogo={false}>
<BaseEmail>
{title && <Title value={title} />}
{dangerousHTML && (
<div dangerouslySetInnerHTML={{ __html: dangerousHTML }} />
Expand Down

0 comments on commit eda98d3

Please sign in to comment.