diff --git a/frontend/src/hooks/useLocationSearch.ts b/frontend/src/hooks/useLocationSearch.ts index 05def85..ddb4e26 100644 --- a/frontend/src/hooks/useLocationSearch.ts +++ b/frontend/src/hooks/useLocationSearch.ts @@ -3,7 +3,7 @@ import type { AddressResult, PlaceResult } from '../types'; import { authHeaders, logNonAbortError } from '../lib/api'; const RECENT_SEARCHES_STORAGE_KEY = 'perfect-postcode.locationSearch.recent'; -const RECENT_SEARCH_LIMIT = 3; +const RECENT_SEARCH_LIMIT = 10; /** Matches a full UK postcode with complete inward code (e.g. "E14 2DG", "SW1A1AA"). * Outcodes like "E14" or "SW1A" intentionally do NOT match — they go through /api/places instead. */