From 2df2d2baf8dd103dd64cd6862af745569b285754 Mon Sep 17 00:00:00 2001 From: camin-mccluskey Date: Tue, 31 Oct 2023 16:24:17 +0000 Subject: [PATCH] Remove hit stepper comment line --- src/components/MultiStepForm.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/MultiStepForm.tsx b/src/components/MultiStepForm.tsx index cca6697..bfbb501 100644 --- a/src/components/MultiStepForm.tsx +++ b/src/components/MultiStepForm.tsx @@ -72,7 +72,6 @@ function MultiStepFormContent({ const shouldSubmitFromStepper = stepperSubmitFinal || newStepIndex > activeStepIndex || activeStepIndex !== numSteps - 1 if (shouldSubmitFromStepper) { - console.log('hit branch - would submit from stepper') submitButtonRefs[0]?.meta?.stepperSubmit(newStepIndex) } // this is necessary (even though the above will navigate) to ensure form steps w/o submit buttons are navigated