Format the map

This commit is contained in:
Andras Schmelczer 2026-01-31 13:07:18 +00:00
parent 4c258018c3
commit 0fde087c3d
3 changed files with 64 additions and 29 deletions

View file

@ -66,7 +66,9 @@ export default function App() {
const poiAbortControllerRef = useRef<AbortController | null>(null);
// Hexagon properties state
const [selectedHexagon, setSelectedHexagon] = useState<{ h3: string; resolution: number } | null>(null);
const [selectedHexagon, setSelectedHexagon] = useState<{ h3: string; resolution: number } | null>(
null
);
const [properties, setProperties] = useState<Property[]>([]);
const [propertiesTotal, setPropertiesTotal] = useState(0);
const [propertiesOffset, setPropertiesOffset] = useState(0);
@ -347,9 +349,7 @@ export default function App() {
<div className="flex border-b border-gray-200">
<button
className={`flex-1 p-3 ${
rightPaneTab === 'pois'
? 'border-b-2 border-blue-500 font-semibold'
: 'text-gray-600'
rightPaneTab === 'pois' ? 'border-b-2 border-blue-500 font-semibold' : 'text-gray-600'
}`}
onClick={() => setRightPaneTab('pois')}
>