Skip to content

Commit

Permalink
fix MMapHint _destroyDomContext is not a function (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
flapenguin-mappable authored Nov 7, 2023
1 parent d10215f commit 6c72797
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/MMapHint/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ class MMapHint extends mappable.MMapGroupEntity<MMapHintProps> {
);
};

private _destroyDomContext!: Function;
private _detachDom!: DomDetach;
private _element!: HTMLElement | null;
private _hintElement!: HTMLElement;
Expand Down Expand Up @@ -121,7 +120,6 @@ class MMapHint extends mappable.MMapGroupEntity<MMapHintProps> {
}

protected _onDetach(): void {
this._destroyDomContext();
this._detachDom();
this._element = null;
}
Expand Down

0 comments on commit 6c72797

Please sign in to comment.