Skip to content

Commit

Permalink
fix(app-rfi): fix section undefined
Browse files Browse the repository at this point in the history
TrackGAEvent section property was undefined
  • Loading branch information
scott-williams-az committed Jun 21, 2024
1 parent 66f50a5 commit 97b16f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/app-rfi/src/components/stepper/RfiStepperButtons.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { trackGAEvent } from "../../../../../shared";
export const RfiStepperButtons = ({
stepNumber,
totalSteps,
step: { props: section = "" },
step,
handleBack,
formik: { isSubmitting },
}) => {
Expand All @@ -43,7 +43,7 @@ export const RfiStepperButtons = ({
name: "onclick",
type: "click",
region: "main content",
section,
section: step.props.section,
text: "prev",
component: `step ${stepNumber + 1} of ${totalSteps}`,
});
Expand All @@ -68,7 +68,7 @@ export const RfiStepperButtons = ({
name: "onclick",
type: "click",
region: "main content",
section,
section: step.props.section,
text: "next",
component: `step ${stepNumber + 1} of ${totalSteps}`,
})
Expand All @@ -91,7 +91,7 @@ export const RfiStepperButtons = ({
region: "main content",
event: "form",
type: "submit",
section,
section: step.props.section,
text: "submit",
component: `step ${stepNumber + 1} of ${totalSteps}`,
})
Expand Down

0 comments on commit 97b16f4

Please sign in to comment.