more history
This commit is contained in:
parent
1934a38677
commit
36ec4003a3
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ import type { AddressResult, PlaceResult } from '../types';
|
||||||
import { authHeaders, logNonAbortError } from '../lib/api';
|
import { authHeaders, logNonAbortError } from '../lib/api';
|
||||||
|
|
||||||
const RECENT_SEARCHES_STORAGE_KEY = 'perfect-postcode.locationSearch.recent';
|
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").
|
/** 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. */
|
* Outcodes like "E14" or "SW1A" intentionally do NOT match — they go through /api/places instead. */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue