From 704e9a38cd7a58918c25a698defdb7dda96d545e Mon Sep 17 00:00:00 2001
From: Kipruto <43873157+kelvinkipruto@users.noreply.github.com>
Date: Fri, 23 Aug 2024 11:20:27 +0300
Subject: [PATCH] Show legend conditionally
---
packages/hurumap-next/src/Map/LazyMap.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/hurumap-next/src/Map/LazyMap.js b/packages/hurumap-next/src/Map/LazyMap.js
index 753a4c913..d4959f9b2 100644
--- a/packages/hurumap-next/src/Map/LazyMap.js
+++ b/packages/hurumap-next/src/Map/LazyMap.js
@@ -114,7 +114,7 @@ const LazyMap = React.forwardRef(function LazyMap(props, ref) {
))}
-
+ {mapType === "choropleth" && }