All changes

This commit is contained in:
Andras Schmelczer 2026-03-14 21:36:00 +00:00
parent 593f380581
commit 49f7ec2f5a
60 changed files with 1783 additions and 679 deletions

View file

@ -1,6 +1,6 @@
import { useState, useEffect, useRef, useMemo } from 'react';
import MapComponent from '../map/Map';
import { apiUrl, assertOk, authHeaders, isAbortError } from '../../lib/api';
import { apiUrl, assertOk, authHeaders, isAbortError, logNonAbortError } from '../../lib/api';
import { formatValue } from '../../lib/format';
import { zoomToResolution } from '../../lib/map-utils';
import { DENSITY_GRADIENT, DENSITY_GRADIENT_DARK } from '../../lib/consts';
@ -248,7 +248,7 @@ export default function ScrollStory({ features, theme }: ScrollStoryProps) {
})
.catch((err) => {
if (!isAbortError(err)) {
console.error('Failed to fetch story hexagons:', err);
logNonAbortError('Failed to fetch story hexagons', err);
setLoading(false);
}
});