B95 — reuse HOME_SEARCH_GROUP_LIST_CLASS for wizard hit list

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
This commit is contained in:
Cursor Agent 2026-08-01 10:55:35 +00:00
parent 7b3d3096cd
commit 67336c9d9d
No known key found for this signature in database

View file

@ -24,6 +24,7 @@ import {
WIZARD_MUNICIPALITY_STEP_TITLE, WIZARD_MUNICIPALITY_STEP_TITLE,
wizardFlowTitleForSlug, wizardFlowTitleForSlug,
} from '@/lib/campaignWizardCopy' } from '@/lib/campaignWizardCopy'
import { HOME_SEARCH_GROUP_LIST_CLASS } from '@/lib/homeSearchUi'
import type { AccessibleMunicipality } from '@/lib/municipalityProximity' import type { AccessibleMunicipality } from '@/lib/municipalityProximity'
import { HOME_SEARCH_QUERY_MAX_LENGTH } from '@/lib/schemas/homeSearch' import { HOME_SEARCH_QUERY_MAX_LENGTH } from '@/lib/schemas/homeSearch'
import { import {
@ -202,9 +203,9 @@ export const WizardMunicipalitySearchStep = ({
</p> </p>
) : null} ) : null}
{results.status === 'success' && displayRows.length > 0 ? ( {results.status === 'success' && displayRows.length > 0 ? (
<ul className="m-0 flex list-none flex-col p-0"> <ul className={HOME_SEARCH_GROUP_LIST_CLASS}>
{displayRows.map(({ hit, continuityReason }) => ( {displayRows.map(({ hit, continuityReason }) => (
<li key={hit.slug} className="m-0 list-none p-0"> <li key={hit.slug}>
<HomeSearchHitRow <HomeSearchHitRow
href={wizardActionHref(actionSlug, hit.slug)} href={wizardActionHref(actionSlug, hit.slug)}
primary={hit.name} primary={hit.name}