Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

πŸ› fix: Change email tempalte

Dillion Verma7ee5d91e5dbb
diff --git a/app/api/webhooks/stripe/route.ts b/app/api/webhooks/stripe/route.ts
index bf363cfc..bf7b825d 100644
--- a/app/api/webhooks/stripe/route.ts
+++ b/app/api/webhooks/stripe/route.ts
@@ -80,6 +80,12 @@ export async function POST(req: Request) {
// await signIn("email", {
// email: session.customer_details.email,
// });
+
+ // await sendLoginEmail({
+ // email: session.customer_details.email,
+ // url: "https://magicuikit.com",
+ // });
+
// await sendLoginEmail(session.customer_details.email);
}
break;
diff --git a/emails/LoginLink.tsx b/emails/LoginLink.tsx
index 5084b840..3aa1dea0 100644
--- a/emails/LoginLink.tsx
+++ b/emails/LoginLink.tsx
@@ -48,10 +48,10 @@ const Email = ({ firstName, loginLink = "https://magicuikit.com" }: Props) => {
<Heading className="text-black text-[24px] font-normal text-center p-0 my-[30px] mx-0">
Welcome to <strong>Magic UI</strong> πŸŽ‰
</Heading>
- <Text className="text-black text-[14px] leading-[24px]">
+ {/* <Text className="text-black text-[14px] leading-[24px]">
{firstName && `Hello ${firstName} πŸ‘‹`}
{!firstName && `Hello πŸ‘‹`}
- </Text>
+ </Text> */}
<Text className="text-black text-[14px] leading-[24px]">
Click the link below to login to your account.
</Text>