more history

This commit is contained in:
Andras Schmelczer 2026-06-18 08:08:47 +01:00
parent 1934a38677
commit 36ec4003a3

View file

@ -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. */