-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove index.tsx from packages/transactioanl
- Loading branch information
1 parent
60db8ac
commit 2d3e86e
Showing
2 changed files
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,15 @@ | |
import { Resend } from "resend" | ||
import { render } from "@react-email/render"; | ||
|
||
import { CodepenChallengesEmail } from '@my-repo/transactional'; | ||
import { CodepenChallengesEmail } from '@my-repo/transactional/emails/CodepenChallengesEmail'; | ||
|
||
const resend = new Resend(process.env.RESEND_KEY); | ||
|
||
export async function sendCodePenChallenges() { | ||
const HTML = render(CodepenChallengesEmail()); | ||
|
||
return await resend.emails.send({ | ||
from: 'noreploy@yourdomain.com', | ||
await resend.emails.send({ | ||
from: 'noreply@geiefi.com', | ||
to: '[email protected]', | ||
subject: 'Codepen challenges of the moment', | ||
html: HTML | ||
|
This file was deleted.
Oops, something went wrong.