This commit is contained in:
Tom Moor committed 2024-12-21 11:37:55 +08:00
1 parent 4a11dac866
commit b381f9b4ff
1 file changed
+6 -4
@@ -11,7 +11,7 @@ import Heading from "./components/Heading";
type Props = EmailProps & {
code: string;
previous: string;
previous: string | null;
teamUrl: string;
};
@@ -34,7 +34,9 @@ export default class ConfirmUpdateEmail extends BaseEmail<Props> {
protected renderAsText({ teamUrl, code, previous, to }: Props): string {
return `
You requested to update your ${env.APP_NAME} account email. Please
follow the link below to confirm the change from ${previous} to ${to}.
follow the link below to confirm the change ${
previous ? `from ${previous} ` : ""
}to ${to}.
${this.updateLink(teamUrl, code)}
`;
@@ -49,8 +51,8 @@ follow the link below to confirm the change from ${previous} to ${to}.
<Heading>Your email update request</Heading>
<p>
You requested to update your {env.APP_NAME} account email. Please
click below to confirm the change from {previous} to{" "}
<strong>{to}</strong>.
click below to confirm the change{" "}
{previous ? `from ${previous} ` : ""}to <strong>{to}</strong>.
</p>
<EmptySpace height={5} />
<p>