Enable server-side clustering on all catalog pages
All checks were successful
Build Docker Image / build (push) Successful in 4m37s

- Add clusterNodeType prop to CatalogPage
- Update useClusteredNodes to accept nodeType parameter
- Enable server clustering on /offers and /suppliers pages
- Add hoveredId sync on /offers page
- Remove hover:shadow-lg animation from Card
This commit is contained in:
Ruslan Bakiev
2026-01-16 17:32:59 +07:00
parent d3bc7e9c09
commit 43310f5c28
7 changed files with 25 additions and 5 deletions

View File

@@ -5,6 +5,7 @@ query GetClusteredNodes(
$north: Float!
$zoom: Int!
$transportType: String
$nodeType: String
) {
clusteredNodes(
west: $west
@@ -13,6 +14,7 @@ query GetClusteredNodes(
north: $north
zoom: $zoom
transportType: $transportType
nodeType: $nodeType
) {
id
latitude