aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/MapBox/MapPushpinBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-08-27 21:44:25 -0400
committerbobzel <zzzman@gmail.com>2023-08-27 21:44:25 -0400
commit3f51ab416090a249aab489b3eb21a456b4d42143 (patch)
treed2b21bbc7e227cdfd4f23a98b96623b36cd3d067 /src/client/views/nodes/MapBox/MapPushpinBox.tsx
parent9d6c7f8100de3a952d20ad41ab20872737cb909e (diff)
fixed exceptions when delete entities from a Map when it's in the process of unmounting
Diffstat (limited to 'src/client/views/nodes/MapBox/MapPushpinBox.tsx')
-rw-r--r--src/client/views/nodes/MapBox/MapPushpinBox.tsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/nodes/MapBox/MapPushpinBox.tsx b/src/client/views/nodes/MapBox/MapPushpinBox.tsx
index 552bceace..42bada0ef 100644
--- a/src/client/views/nodes/MapBox/MapPushpinBox.tsx
+++ b/src/client/views/nodes/MapBox/MapPushpinBox.tsx
@@ -15,7 +15,6 @@ export class MapPushpinBox extends ViewBoxBaseComponent<FieldViewProps>() {
return FieldView.LayoutString(MapPushpinBox, fieldKey);
}
componentDidMount() {
- // if (this.mapBoxView)
this.mapBoxView.addPushpin(this.rootDoc);
}
componentWillUnmount() {