Skip to content

Commit

Permalink
Plans: Fix potential error from undefined longerPlanTermDefaultExperi…
Browse files Browse the repository at this point in the history
…ment in Stepper use of plans step (#96736)
  • Loading branch information
chriskmnds authored Nov 25, 2024
1 parent 7d514b0 commit 9438d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/signup/steps/plans/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export class PlansStep extends Component {
intervalType ||
getIntervalType(
this.props.path,
flowName === 'onboarding' && longerPlanTermDefaultExperiment.term
flowName === 'onboarding' && longerPlanTermDefaultExperiment?.term
? longerPlanTermDefaultExperiment.term
: undefined
);
Expand Down

0 comments on commit 9438d2d

Please sign in to comment.