diff --git a/packages/emails/src/emails/AlmostReachedChatsLimitEmail.tsx b/packages/emails/src/emails/AlmostReachedChatsLimitEmail.tsx index a4cae72e0c..58a820aed3 100644 --- a/packages/emails/src/emails/AlmostReachedChatsLimitEmail.tsx +++ b/packages/emails/src/emails/AlmostReachedChatsLimitEmail.tsx @@ -4,6 +4,7 @@ import { env } from "@typebot.io/env"; import { parseNumberWithCommas } from "@typebot.io/lib/utils"; import type { SendMailOptions } from "nodemailer"; import type { ComponentProps } from "react"; +import * as React from "react"; import { Head } from "../components/Head"; import { HeroImage } from "../components/HeroImage"; import { Text } from "../components/Text"; diff --git a/packages/emails/src/emails/DefaultBotNotificationEmail.tsx b/packages/emails/src/emails/DefaultBotNotificationEmail.tsx index 84c5684d86..5019dadfb2 100644 --- a/packages/emails/src/emails/DefaultBotNotificationEmail.tsx +++ b/packages/emails/src/emails/DefaultBotNotificationEmail.tsx @@ -5,6 +5,7 @@ import { MjmlSection, MjmlSpacer, } from "@faire/mjml-react"; +import * as React from "react"; import { Button } from "../components/Button"; import { Head } from "../components/Head"; import { Text } from "../components/Text"; diff --git a/packages/emails/src/emails/GuestInvitationEmail.tsx b/packages/emails/src/emails/GuestInvitationEmail.tsx index 08337b3fa0..fa8e1ca912 100644 --- a/packages/emails/src/emails/GuestInvitationEmail.tsx +++ b/packages/emails/src/emails/GuestInvitationEmail.tsx @@ -9,6 +9,7 @@ import { render } from "@faire/mjml-react/utils/render"; import { env } from "@typebot.io/env"; import type { SendMailOptions } from "nodemailer"; import type { ComponentProps } from "react"; +import * as React from "react"; import { Button } from "../components/Button"; import { Head } from "../components/Head"; import { HeroImage } from "../components/HeroImage"; diff --git a/packages/emails/src/emails/MagicLinkEmail.tsx b/packages/emails/src/emails/MagicLinkEmail.tsx index 6f8fd92de8..7307fad9da 100644 --- a/packages/emails/src/emails/MagicLinkEmail.tsx +++ b/packages/emails/src/emails/MagicLinkEmail.tsx @@ -9,6 +9,7 @@ import { render } from "@faire/mjml-react/utils/render"; import { env } from "@typebot.io/env"; import type { SendMailOptions } from "nodemailer"; import type { ComponentProps } from "react"; +import * as React from "react"; import { Button } from "../components/Button"; import { Head } from "../components/Head"; import { HeroImage } from "../components/HeroImage"; diff --git a/packages/emails/src/emails/ReachedChatsLimitEmail.tsx b/packages/emails/src/emails/ReachedChatsLimitEmail.tsx index 8e8d7f2079..91846d75e8 100644 --- a/packages/emails/src/emails/ReachedChatsLimitEmail.tsx +++ b/packages/emails/src/emails/ReachedChatsLimitEmail.tsx @@ -10,6 +10,7 @@ import { env } from "@typebot.io/env"; import { parseNumberWithCommas } from "@typebot.io/lib/utils"; import type { SendMailOptions } from "nodemailer"; import type { ComponentProps } from "react"; +import * as React from "react"; import { Button } from "../components/Button"; import { Head } from "../components/Head"; import { HeroImage } from "../components/HeroImage"; diff --git a/packages/emails/src/emails/WorkspaceMemberInvitationEmail.tsx b/packages/emails/src/emails/WorkspaceMemberInvitationEmail.tsx index 682df47826..99bad005b1 100644 --- a/packages/emails/src/emails/WorkspaceMemberInvitationEmail.tsx +++ b/packages/emails/src/emails/WorkspaceMemberInvitationEmail.tsx @@ -9,6 +9,7 @@ import { render } from "@faire/mjml-react/utils/render"; import { env } from "@typebot.io/env"; import type { SendMailOptions } from "nodemailer"; import type { ComponentProps } from "react"; +import * as React from "react"; import { Button } from "../components/Button"; import { Head } from "../components/Head"; import { HeroImage } from "../components/HeroImage";