.
This commit is contained in:
parent
f99bd4e5c9
commit
a04ac2d857
16 changed files with 132 additions and 74 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue