fix: persist newline in emails

This commit is contained in:
Ephraim Atta-Duncan
2023-09-20 12:19:52 +00:00
committed by Mythie
parent 345343f4b5
commit 22f9400932

View File

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