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); }); }} >