mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 01:52:22 +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(
|
||||
<EmailTemplate {...substitutions} isCloud={appCfg.isCloud} siteUrl={appCfg.SITE_URL} />
|
||||
React.createElement(EmailTemplate, {
|
||||
...substitutions,
|
||||
isCloud: appCfg.isCloud,
|
||||
siteUrl: appCfg.SITE_URL
|
||||
})
|
||||
);
|
||||
|
||||
if (isSmtpOn) {
|
||||
Reference in New Issue
Block a user