From 26e4301564592d02f27fa8cf8f60d1023c09e5a1 Mon Sep 17 00:00:00 2001 From: Vincent Date: Thu, 1 Aug 2024 15:31:01 +0200 Subject: [PATCH] fixup! Port breach alert email to new email template --- .../admin/emails/EmailTrigger.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/EmailTrigger.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/EmailTrigger.tsx index c5794281703..10767d5cdee 100644 --- a/src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/EmailTrigger.tsx +++ b/src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/EmailTrigger.tsx @@ -23,11 +23,11 @@ export const EmailTrigger = (props: Props) => { const [selectedEmailAddress, setSelectedEmailAddress] = useState( props.emailAddresses[0], ); - const [isSendingVerification, setIssSendingVerification] = useState(false); - const [isSendingBreachAlert, setIssSendingBreachAlert] = useState(false); + const [isSendingVerification, setIsSendingVerification] = useState(false); + const [isSendingBreachAlert, setIsSendingBreachAlert] = useState(false); const [ isSendingMonthlyActivityOverview, - setIssSendingMonthlyActivityOverview, + setIsSendingMonthlyActivityOverview, ] = useState(false); const [firstDataBrokerRemovalFixed, setFirstDataBrokerRemovalFixed] = useState(false); @@ -62,9 +62,9 @@ export const EmailTrigger = (props: Props) => { variant="primary" isLoading={isSendingVerification} onPress={() => { - setIssSendingVerification(true); + setIsSendingVerification(true); void triggerVerificationEmail(selectedEmailAddress).then(() => { - setIssSendingVerification(false); + setIsSendingVerification(false); }); }} > @@ -74,9 +74,9 @@ export const EmailTrigger = (props: Props) => { variant="primary" isLoading={isSendingMonthlyActivityOverview} onPress={() => { - setIssSendingMonthlyActivityOverview(true); + setIsSendingMonthlyActivityOverview(true); void triggerMonthlyActivity(selectedEmailAddress).then(() => { - setIssSendingMonthlyActivityOverview(false); + setIsSendingMonthlyActivityOverview(false); }); }} > @@ -86,9 +86,9 @@ export const EmailTrigger = (props: Props) => { variant="primary" isLoading={isSendingBreachAlert} onPress={() => { - setIssSendingBreachAlert(true); + setIsSendingBreachAlert(true); void triggerBreachAlert(selectedEmailAddress).then(() => { - setIssSendingBreachAlert(false); + setIsSendingBreachAlert(false); }); }} >