From c059bdf0b2707181b4c6b7bf626f99ac33a81b58 Mon Sep 17 00:00:00 2001
From: Eric <ericmabr@gmail.com>
Date: Tue, 1 Aug 2023 13:40:37 -0400
Subject: Pin onclick remove fully integrate, working but not tested a lot

---
 src/client/views/nodes/MapBox/MapPushpinBox.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/client/views/nodes/MapBox/MapPushpinBox.tsx')

diff --git a/src/client/views/nodes/MapBox/MapPushpinBox.tsx b/src/client/views/nodes/MapBox/MapPushpinBox.tsx
index 13fb11054..588bddd1a 100644
--- a/src/client/views/nodes/MapBox/MapPushpinBox.tsx
+++ b/src/client/views/nodes/MapBox/MapPushpinBox.tsx
@@ -21,7 +21,7 @@ export class MapPushpinBox extends ViewBoxBaseComponent<FieldViewProps>() {
         this.mapBoxView.addPushpin(this.rootDoc);
     }
     componentWillUnmount() {
-        this.mapBoxView.removePushpin(this.rootDoc);
+        // this.mapBoxView.removePushpin(this.rootDoc);
     }
 
 
-- 
cgit v1.2.3-70-g09d2

