-
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.
- Loading branch information
1 parent
0cee78b
commit 33c4791
Showing
2 changed files
with
3 additions
and
3 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 |
---|---|---|
|
@@ -8,10 +8,10 @@ import { CodepenChallengesEmail } from '@my-repo/transactional/emails/CodepenCha | |
const resend = new Resend(process.env.RESEND_KEY); | ||
|
||
export async function sendCodePenChallenges() { | ||
const HTML = render(CodepenChallengesEmail()); | ||
const HTML = await render(<CodepenChallengesEmail/>); | ||
|
||
await resend.emails.send({ | ||
from: '[email protected]', | ||
from: 'Acme <[email protected]>', | ||
to: '[email protected]', | ||
subject: 'Codepen challenges of the moment', | ||
html: HTML | ||
|
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