💚 Fix send email in CI "React is not defined"
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { ComponentProps } from 'react'
|
import React, { ComponentProps } from 'react'
|
||||||
import { Mjml, MjmlBody, MjmlSection, MjmlColumn } from '@faire/mjml-react'
|
import { Mjml, MjmlBody, MjmlSection, MjmlColumn } from '@faire/mjml-react'
|
||||||
import { render } from '@faire/mjml-react/utils/render'
|
import { render } from '@faire/mjml-react/utils/render'
|
||||||
import { Head, HeroImage, Text } from '../components'
|
import { Head, HeroImage, Text } from '../components'
|
||||||
@@ -47,14 +47,15 @@ export const AlmostReachedChatsLimitEmail = ({
|
|||||||
</Text>
|
</Text>
|
||||||
<Text>
|
<Text>
|
||||||
Your progress can be monitored on your workspace dashboard
|
Your progress can be monitored on your workspace dashboard
|
||||||
settings. Check out the{' '}
|
settings.
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
Check out the{' '}
|
||||||
<a href="https://typebot.io/pricing">pricing page</a> for
|
<a href="https://typebot.io/pricing">pricing page</a> for
|
||||||
information about the pay as you go tiers.
|
information about the pay as you go tiers.
|
||||||
</Text>
|
</Text>
|
||||||
<Text>
|
<Text>
|
||||||
As a reminder, your billing cycle ends on {readableResetDate}. If
|
As a reminder, your billing cycle ends on {readableResetDate}.
|
||||||
you'd like to learn more about the Enterprise plan for an
|
|
||||||
annual commitment, reach out to support@typebot.io.
|
|
||||||
</Text>
|
</Text>
|
||||||
</MjmlColumn>
|
</MjmlColumn>
|
||||||
</MjmlSection>
|
</MjmlSection>
|
||||||
|
|||||||
@@ -45,8 +45,8 @@ const createHtmlFile = () => {
|
|||||||
render(
|
render(
|
||||||
<AlmostReachedChatsLimitEmail
|
<AlmostReachedChatsLimitEmail
|
||||||
usagePercent={86}
|
usagePercent={86}
|
||||||
url={'https://app.typebot.io'}
|
|
||||||
chatsLimit={2000}
|
chatsLimit={2000}
|
||||||
|
workspaceName="My Workspace"
|
||||||
/>
|
/>
|
||||||
).html
|
).html
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"playground": "tsx playground.ts",
|
"playground": "SKIP_ENV_CHECK=true dotenv -e ./.env.local -- tsx playground.ts",
|
||||||
"db:cleanDatabase": "tsx cleanDatabase.ts",
|
"db:cleanDatabase": "tsx cleanDatabase.ts",
|
||||||
"db:backup": "tsx backupDatabase.ts",
|
"db:backup": "tsx backupDatabase.ts",
|
||||||
"db:restore": "tsx restoreDatabase.ts",
|
"db:restore": "tsx restoreDatabase.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user