fix(email): import React in auth template for server-side rendering compatibility

This commit is contained in:
Amruth Pillai
2026-07-05 22:16:37 +02:00
parent 4ae6d8476f
commit af751e4f94
2 changed files with 84 additions and 0 deletions
+4
View File
@@ -1,3 +1,4 @@
import * as React from "react";
import {
Body,
Button,
@@ -16,6 +17,9 @@ import {
Text,
} from "react-email";
// ponytail: server dev consumes this source through tsx, which emits React.createElement here.
void React;
const appName = "Reactive Resume";
const logoUrl = "https://rxresu.me/icon/dark.svg";