mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-15 10:43:07 +00:00
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:
parent
7b3d3096cd
commit
67336c9d9d
1 changed files with 3 additions and 2 deletions
|
|
@ -24,6 +24,7 @@ import {
|
|||
WIZARD_MUNICIPALITY_STEP_TITLE,
|
||||
wizardFlowTitleForSlug,
|
||||
} from '@/lib/campaignWizardCopy'
|
||||
import { HOME_SEARCH_GROUP_LIST_CLASS } from '@/lib/homeSearchUi'
|
||||
import type { AccessibleMunicipality } from '@/lib/municipalityProximity'
|
||||
import { HOME_SEARCH_QUERY_MAX_LENGTH } from '@/lib/schemas/homeSearch'
|
||||
import {
|
||||
|
|
@ -202,9 +203,9 @@ export const WizardMunicipalitySearchStep = ({
|
|||
</p>
|
||||
) : null}
|
||||
{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 }) => (
|
||||
<li key={hit.slug} className="m-0 list-none p-0">
|
||||
<li key={hit.slug}>
|
||||
<HomeSearchHitRow
|
||||
href={wizardActionHref(actionSlug, hit.slug)}
|
||||
primary={hit.name}
|
||||
|
|
|
|||
Loading…
Reference in a new issue