@esri/solutions-components 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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