aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/MapBox/MapPushpinBox.tsx
diff options
context:
space:
mode:
authorEric <ericmabr@gmail.com>2023-08-22 16:31:00 -0400
committerEric <ericmabr@gmail.com>2023-08-22 16:31:00 -0400
commite724cf830b773d22bada7c319f5c2527b2ffeae7 (patch)
tree20b361f5bbc5c460c68df43fe8628a11cc4e8213 /src/client/views/nodes/MapBox/MapPushpinBox.tsx
parent696b54d2d6321ebd194dbe1f5cf823320036f8fe (diff)
Everything working, except for offset of placing pins and mapanchormenu when sidebar is open
Diffstat (limited to 'src/client/views/nodes/MapBox/MapPushpinBox.tsx')
-rw-r--r--src/client/views/nodes/MapBox/MapPushpinBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/MapBox/MapPushpinBox.tsx b/src/client/views/nodes/MapBox/MapPushpinBox.tsx
index d28209ea1..66fe1ce53 100644
--- a/src/client/views/nodes/MapBox/MapPushpinBox.tsx
+++ b/src/client/views/nodes/MapBox/MapPushpinBox.tsx
@@ -19,7 +19,7 @@ export class MapPushpinBox extends ViewBoxBaseComponent<FieldViewProps>() {
this.mapBoxView.addPushpin(this.rootDoc);
}
componentWillUnmount() {
- // this.mapBoxView.removePushpin(this.rootDoc);
+ this.mapBoxView.deletePushpin(this.rootDoc);
}
@computed get mapBoxView() {