Skip to content

Commit

Permalink
Code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
alshakero committed Feb 6, 2025
1 parent 2dea134 commit 999bda1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export const FlowRenderer: React.FC< { flow: Flow; steps: readonly StepperStep[]
}

// The `nextStep` is available only when logged-out users go to the step that requires auth
// and are redirected to the user step. When it's not available, go to the first step.
// and are redirected to the user step.
const postAuthStepSlug = stepData?.nextStep ?? '';
if ( step.slug === PRIVATE_STEPS.USER.slug && postAuthStepSlug ) {
const previousAuthStepSlug = stepData?.previousStep;
Expand Down

0 comments on commit 999bda1

Please sign in to comment.