This commit is contained in:
Andras Schmelczer 2026-06-02 08:21:47 +01:00
parent f99bd4e5c9
commit a04ac2d857
16 changed files with 132 additions and 74 deletions

View file

@ -144,12 +144,7 @@ export function useHexagonSelection({
);
const fetchPostcodeStats = useCallback(
async (
postcode: string,
signal?: AbortSignal,
includeFilters = true,
fields?: string[]
) => {
async (postcode: string, signal?: AbortSignal, includeFilters = true, fields?: string[]) => {
const params = new URLSearchParams({ postcode });
const filterStr = includeFilters ? buildFilterString(filters, features) : '';
if (filterStr) params.append('filters', filterStr);