fix: persist newline in emails

This commit is contained in:
Ephraim Atta-Duncan
2023-09-20 12:19:52 +00:00
parent d417255910
commit c9c111cdf2

View File

@ -81,9 +81,11 @@ export const DocumentInviteEmailTemplate = ({
</Text>
<Text className="mt-2 text-base text-slate-400">
{customBody
? customBody
: `${inviterName} has invited you to sign the document "${documentName}".`}
{customBody ? (
<pre className="font-sans text-base text-slate-400">{customBody}</pre>
) : (
`${inviterName} has invited you to sign the document "${documentName}".`
)}
</Text>
</Section>
</Container>