Fix wizard back link: drop municipio, keep from query

This commit is contained in:
Cursor Agent 2026-08-01 20:50:03 +00:00
parent 2e3740ef3f
commit 1ae714613f
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -129,7 +129,7 @@ export const WizardLeadershipStep = ({
flowTitle={wizardFlowTitleForSlug(actionSlug)} flowTitle={wizardFlowTitleForSlug(actionSlug)}
stepTitle={stepTitle} stepTitle={stepTitle}
isEntryStep={false} isEntryStep={false}
previousHref={wizardActionHref(actionSlug, municipalitySlug, { returnPath })} previousHref={wizardActionHref(actionSlug, undefined, { returnPath })}
dismissHref={wizardChainEndHref(returnPath)} dismissHref={wizardChainEndHref(returnPath)}
municipalityLabel={municipalityName} municipalityLabel={municipalityName}
skip={skipConfig} skip={skipConfig}

View file

@ -53,7 +53,7 @@ export const WizardSignalTypeStep = ({
flowTitle={wizardFlowTitleForSlug(actionSlug)} flowTitle={wizardFlowTitleForSlug(actionSlug)}
isEntryStep={false} isEntryStep={false}
stepTitle={WIZARD_SIGNAL_TYPE_STEP_TITLE} stepTitle={WIZARD_SIGNAL_TYPE_STEP_TITLE}
previousHref={wizardActionHref(actionSlug, municipalitySlug, { returnPath })} previousHref={wizardActionHref(actionSlug, undefined, { returnPath })}
dismissHref={wizardChainEndHref(returnPath)} dismissHref={wizardChainEndHref(returnPath)}
municipalityLabel={municipalityName} municipalityLabel={municipalityName}
contentAlign="end" contentAlign="end"

View file

@ -138,7 +138,7 @@ export const WizardExpectedVotesStep = ({
flowTitle={wizardFlowTitleForSlug(actionSlug)} flowTitle={wizardFlowTitleForSlug(actionSlug)}
stepTitle={wizardNextStepTitle(actionSlug)} stepTitle={wizardNextStepTitle(actionSlug)}
isEntryStep={false} isEntryStep={false}
previousHref={wizardActionHref(actionSlug, municipalitySlug, { returnPath })} previousHref={wizardActionHref(actionSlug, undefined, { returnPath })}
dismissHref={wizardChainEndHref(returnPath)} dismissHref={wizardChainEndHref(returnPath)}
municipalityLabel={municipalityName} municipalityLabel={municipalityName}
skip={skip} skip={skip}