diff --git a/src/components/campaign/leadership/WizardLeadershipStep.tsx b/src/components/campaign/leadership/WizardLeadershipStep.tsx index f40d272d..a19dbbf8 100644 --- a/src/components/campaign/leadership/WizardLeadershipStep.tsx +++ b/src/components/campaign/leadership/WizardLeadershipStep.tsx @@ -45,7 +45,6 @@ import { WIZARD_LEADERSHIP_EMPTY_NOTES, WIZARD_LEADERSHIP_FORM_CREATE_TITLE, WIZARD_LEADERSHIP_FORM_EDIT_TITLE, - WIZARD_LEADERSHIP_GRID_TITLE, WIZARD_LEADERSHIP_SAVED_TOAST, WIZARD_LEADERSHIP_STATUS_DRAWER_TITLE, WIZARD_LEADERSHIP_STATUS_PENDING, @@ -62,6 +61,10 @@ import { type SupportStatus, } from '@/lib/schemas/leadership' import { cn } from '@/lib/utils' +import { + WIZARD_THUMB_TILE_GRID_CLASS, + WIZARD_THUMB_TILE_ITEM_CLASS, +} from '@/lib/wizardThumbGrid' import { resolveWizardChainEntry, wizardChainContinueHref, @@ -143,11 +146,11 @@ export const WizardLeadershipStep = ({ ) const stepTitle = - mode.kind === 'grid' - ? WIZARD_LEADERSHIP_GRID_TITLE - : mode.leadership + mode.kind === 'form' + ? mode.leadership ? WIZARD_LEADERSHIP_FORM_EDIT_TITLE : WIZARD_LEADERSHIP_FORM_CREATE_TITLE + : null const trailingAction = skipConfig ? (