Skip to content

Scheduling infrastructure for absolutely everyone.

fix: Team Invite Email Text formatting (#14434)

Hariom Balhara6390d595f539
diff --git a/packages/emails/src/templates/TeamInviteEmail.tsx b/packages/emails/src/templates/TeamInviteEmail.tsx
index b53a4a0448b..b339e852e5d 100644
--- a/packages/emails/src/templates/TeamInviteEmail.tsx
+++ b/packages/emails/src/templates/TeamInviteEmail.tsx
@@ -227,19 +227,17 @@ export const TeamInviteEmail = (
if (typeOfInvite === "TO_SUBTEAM") {
return (
<>
- (
{autoJoinType === "added" ? (
<Trans i18nKey="email_team_invite|content|added_to_subteam">
{invitedBy} has added you to the team <strong>{teamName}</strong> in their organization{" "}
- <strong>{parentTeamName}</strong>
+ <strong>{parentTeamName}</strong>.
</Trans>
) : (
<Trans i18nKey="email_team_invite|content|invited_to_subteam">
{invitedBy} has added you to the team <strong>{teamName}</strong> in their organization{" "}
- <strong>{parentTeamName}</strong>
+ <strong>{parentTeamName}</strong>.
</Trans>
- )}
- )
+ )}{" "}
<Trans>
{appName} is the event-juggling scheduler that enables you and your team to schedule meetings
without the email tennis.