diff --git a/src/components/Clustering.jsx b/src/components/Clustering.jsx index 420dca42a..aff81c788 100644 --- a/src/components/Clustering.jsx +++ b/src/components/Clustering.jsx @@ -146,7 +146,7 @@ function Clustering({ category, children }) { <> {children.length > rules.forcedLimit || userCluster - ? children.filter((x) => markers.has(x.key)) + ? children.filter((x) => x && markers.has(x.key)) : children} {limitHit && (