From 49206d7ba1a95b6e3c44a1571a63ac10ae5c8954 Mon Sep 17 00:00:00 2001 From: Peter Barnum Date: Thu, 20 Jul 2023 16:48:31 -0600 Subject: [PATCH] =?UTF-8?q?remove=20logs=20+=20change=20sms=20=E2=86=92=20?= =?UTF-8?q?text=20message?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Forms/Form.Workforce.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Forms/Form.Workforce.tsx b/src/Forms/Form.Workforce.tsx index d61effd1..0a7dac42 100644 --- a/src/Forms/Form.Workforce.tsx +++ b/src/Forms/Form.Workforce.tsx @@ -168,8 +168,7 @@ const WorkforceForm = ({ sessionDates }: WorkforceFormProps) => { // eslint-disable-next-line react-hooks/exhaustive-deps -- Ignore form change }, [currentValues.sessionDate, currentValues.attendingLocation, sessionDates]); - console.log('sessionDate', form.getSelect('sessionDate')); - console.log('attendingLocation', form.get('attendingLocation')); + return (
@@ -291,7 +290,7 @@ const WorkforceForm = ({ sessionDates }: WorkforceFormProps) => { {/* Checkbox to opt-in to receiving SMS messages */}
{

)} {form.get('smsOptIn') === 'false' && ( -

{`By opting out of SMS messaging, you acknowledge that you may miss important information about upcoming sessions and registrations.`}

+

{`By opting out of text messages, you acknowledge that you may miss important information about upcoming sessions and registrations.`}

)} {form.get('smsOptIn') === '' && ( -

{`You can opt out of sms notifications at any time by replying "STOP"`}

+

{`You can opt out of text messages at any time by replying "STOP"`}

)}