mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 17:27:16 +00:00
fix: try removing jsx usage
This commit is contained in:
+5
-1
@@ -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) {
|
||||||
@@ -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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user