Welp...
This commit is contained in:
parent
bec7138edd
commit
1fe4a912cd
4 changed files with 10 additions and 3 deletions
|
@ -25,6 +25,12 @@ const config = {
|
|||
fixStyle: "inline-type-imports",
|
||||
},
|
||||
],
|
||||
"@typescript-eslint/ban-ts-comment": [
|
||||
"error",
|
||||
{
|
||||
"ts-ignore": "allow-with-description",
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ interface EmailTemplateProps {
|
|||
export const Goodbye: React.FC<Readonly<EmailTemplateProps>> = ({ name }) => (
|
||||
<div>
|
||||
<h1>Welcome, {name}!</h1>
|
||||
<p>We're sorry to see you go!</p>
|
||||
<p>{"We're sorry to see you go!"}</p>
|
||||
<p>
|
||||
Your data has been deleted, including all room history, user data, votes,
|
||||
etc.
|
||||
|
|
|
@ -144,7 +144,7 @@ export const userRouter = createTRPCRouter({
|
|||
from: "no-reply@sprintpadawan.dev",
|
||||
to: user.email,
|
||||
subject: "Sorry to see you go... 😭",
|
||||
//@ts-ignore
|
||||
//@ts-ignore: IDK why this doesn't work...
|
||||
react: Goodbye({ name: user.name }),
|
||||
});
|
||||
await deleteFromCache(client, env.APP_ENV, `kv_usercount_admin`);
|
||||
|
|
|
@ -58,7 +58,8 @@ export const authOptions: NextAuthOptions = {
|
|||
from: "no-reply@sprintpadawan.dev",
|
||||
to: user.email,
|
||||
subject: "🎉 Welcome to Sprint Padawan! 🎉",
|
||||
//@ts-ignore
|
||||
//@ts-ignore: IDK why this doesn't work...
|
||||
|
||||
react: Welcome({ name: user.name }),
|
||||
});
|
||||
await deleteFromCache(client, env.APP_ENV, `kv_userlist_admin`);
|
||||
|
|
Loading…
Add table
Reference in a new issue