diff --git a/packages/emails/src/renderEmail.ts b/packages/emails/src/renderEmail.ts index 4404c94a472824..dcc02ef01fe683 100644 --- a/packages/emails/src/renderEmail.ts +++ b/packages/emails/src/renderEmail.ts @@ -10,13 +10,13 @@ function renderEmail( return ( // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-expect-error - ReactDOMServer.renderToStaticMarkup(Component(props)) + (ReactDOMServer.renderToStaticMarkup(Component(props)) // Remove `` injected scripts .replace(/