diff options
author | bobzel <zzzman@gmail.com> | 2023-08-27 21:44:25 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-08-27 21:44:25 -0400 |
commit | 3f51ab416090a249aab489b3eb21a456b4d42143 (patch) | |
tree | d2b21bbc7e227cdfd4f23a98b96623b36cd3d067 /src/client/views/nodes/MapBox/MapPushpinBox.tsx | |
parent | 9d6c7f8100de3a952d20ad41ab20872737cb909e (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.tsx | 1 |
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() { |