chore: changes based on review

This commit is contained in:
Ephraim Atta-Duncan
2025-08-22 14:54:03 +00:00
parent 404d46a1cc
commit 7ce03b4285
4 changed files with 20 additions and 21 deletions

View File

@ -1,3 +1,4 @@
import { msg } from '@lingui/core/macro';
import { useLingui } from '@lingui/react';
import type { RecipientRole } from '@prisma/client';
@ -30,7 +31,7 @@ export const DocumentReminderEmailTemplate = ({
const action = i18n.t(RECIPIENT_ROLES_DESCRIPTION[role].actionVerb).toLowerCase();
const previewTextString = `Reminder to ${action} ${documentName}`;
const previewTextString = i18n._(msg`Reminder to ${action} ${documentName}`);
const getAssetUrl = (path: string) => {
return new URL(path, assetBaseUrl).toString();