@esri/solutions-components 0.8.1 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -575,10 +575,10 @@ const MapDrawTools = class {
575
575
  * @protected
576
576
  */
577
577
  _clearSketch() {
578
- var _a;
579
- this._sketchWidget.viewModel.cancel();
578
+ var _a, _b;
579
+ (_a = this._sketchWidget) === null || _a === void 0 ? void 0 : _a.viewModel.cancel();
580
580
  this.graphics = [];
581
- (_a = this._sketchGraphicsLayer) === null || _a === void 0 ? void 0 : _a.removeAll();
581
+ (_b = this._sketchGraphicsLayer) === null || _b === void 0 ? void 0 : _b.removeAll();
582
582
  }
583
583
  /**
584
584
  * Emit the undo event