From 56a6b68f07cc442aabd1fda8145383c1f9e0b668 Mon Sep 17 00:00:00 2001 From: asharonbaltazar <58940073+asharonbaltazar@users.noreply.github.com> Date: Tue, 3 Dec 2024 16:20:52 -0500 Subject: [PATCH] feat(ui): create waiver emails (#894) * feat: create waiver emails * chore: remove Divider --- .../emailTemplates/WaiverCMS.tsx | 43 ++++++++----------- .../emailTemplates/WaiverState.tsx | 6 ++- 2 files changed, 23 insertions(+), 26 deletions(-) diff --git a/lib/libs/email/content/withdrawPackage/emailTemplates/WaiverCMS.tsx b/lib/libs/email/content/withdrawPackage/emailTemplates/WaiverCMS.tsx index 516a2b0475..91ac6b24c8 100644 --- a/lib/libs/email/content/withdrawPackage/emailTemplates/WaiverCMS.tsx +++ b/lib/libs/email/content/withdrawPackage/emailTemplates/WaiverCMS.tsx @@ -6,27 +6,22 @@ export const WaiverCMSEmail = ({ variables, }: { variables: Events["WithdrawPackage"] & CommonEmailVariables; -}) => { - const previewText = `Withdrawal of ${variables.authority} ${variables.id}`; - const heading = - "The OneMAC Submission Portal received a request to withdraw the package below. The package will no longer be considered for CMS review:"; - return ( - } - > - - - - ); -}; +}) => ( + } + > + + + +); diff --git a/lib/libs/email/content/withdrawPackage/emailTemplates/WaiverState.tsx b/lib/libs/email/content/withdrawPackage/emailTemplates/WaiverState.tsx index 05bf261a4f..806cb5ad35 100644 --- a/lib/libs/email/content/withdrawPackage/emailTemplates/WaiverState.tsx +++ b/lib/libs/email/content/withdrawPackage/emailTemplates/WaiverState.tsx @@ -15,8 +15,10 @@ export const WaiverStateEmail = ({ }) => { return ( } >