♻️ Update email templates (#1324)

This commit is contained in:
Luke Vella 2024-09-07 11:11:20 +01:00
parent 988a60debb
commit 0a9ddd1e3d
No known key found for this signature in database
GPG key ID: 469CAD687F0D784C
3 changed files with 3 additions and 4 deletions

View file

@ -62,7 +62,7 @@ export const LoginEmail = ({ code, magicLink, ctx }: LoginEmailProps) => {
i18n={ctx.i18n}
t={ctx.t}
i18nKey="login_button"
defaults="Log in to {domain}"
defaults="Log in to {{domain}}"
values={{ domain: ctx.domain }}
ns="emails"
/>
@ -73,7 +73,7 @@ export const LoginEmail = ({ code, magicLink, ctx }: LoginEmailProps) => {
i18n={ctx.i18n}
t={ctx.t}
i18nKey="login_content2"
defaults="You're receiving this email because a request was made to login to <domain />. If this wasn't you contact <a>{supportEmail}</a>."
defaults="You're receiving this email because a request was made to login to <domain />. If this wasn't you contact <a>{{supportEmail}}</a>."
values={{ supportEmail: ctx.supportEmail }}
components={{
domain: <Domain ctx={ctx} />,

View file

@ -63,7 +63,7 @@ export const NewParticipantConfirmationEmail = ({
i18n={ctx.i18n}
t={ctx.t}
i18nKey="newParticipantConfirmation_button"
defaults="Review response on {domain}"
defaults="Review response on {{domain}}"
values={{ domain }}
ns="emails"
/>

View file

@ -62,7 +62,6 @@ export const NewPollEmail = ({
defaultValue: "Manage Poll",
ns: "emails",
})}
&rarr;
</Button>
</EmailLayout>
);