From 37d465d34c22a4fc48dd5ee515197cba78acd431 Mon Sep 17 00:00:00 2001 From: Derick M <58572875+TurtIeSocks@users.noreply.github.com> Date: Sat, 14 Oct 2023 15:28:56 -0400 Subject: [PATCH] fix: hiding mon causing crash --- src/components/Clustering.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 && (