fix: try removing jsx usage

This commit is contained in:
Scott Wilson
2025-05-02 11:42:20 -07:00
parent 8ad334b3ab
commit 717c947e53
2 changed files with 6 additions and 2 deletions
@@ -130,7 +130,11 @@ export const smtpServiceFactory = (cfg: TSmtpConfig) => {
} }
const htmlToSend = await render( const htmlToSend = await render(
<EmailTemplate {...substitutions} isCloud={appCfg.isCloud} siteUrl={appCfg.SITE_URL} /> React.createElement(EmailTemplate, {
...substitutions,
isCloud: appCfg.isCloud,
siteUrl: appCfg.SITE_URL
})
); );
if (isSmtpOn) { if (isSmtpOn) {
+1 -1
View File
@@ -26,7 +26,7 @@
"paths": { "paths": {
"@app/*": ["./src/*"] "@app/*": ["./src/*"]
}, },
"jsx": "react" "jsx": "react-jsx"
}, },
"include": ["src/**/*", "scripts/**/*", "e2e-test/**/*", "./.eslintrc.js", "./tsup.config.js"], "include": ["src/**/*", "scripts/**/*", "e2e-test/**/*", "./.eslintrc.js", "./tsup.config.js"],
"exclude": ["node_modules"] "exclude": ["node_modules"]