From 6943df79749483291e788bd4067416c0719a17db Mon Sep 17 00:00:00 2001 From: MokujinMap Date: Fri, 26 Apr 2024 22:33:22 +0300 Subject: [PATCH] removed the remaining search context --- src/controls/MMapSearchControl/MMapSuggest/index.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/controls/MMapSearchControl/MMapSuggest/index.ts b/src/controls/MMapSearchControl/MMapSuggest/index.ts index 09120ef..088a2ec 100644 --- a/src/controls/MMapSearchControl/MMapSuggest/index.ts +++ b/src/controls/MMapSearchControl/MMapSuggest/index.ts @@ -29,7 +29,6 @@ type MMapSuggestProps = { class MMapSuggest extends mappable.MMapComplexEntity { private _detachDom?: DomDetach; private _rootElement?: HTMLElement; - private _unwatchSearchContext?: () => void; private _unwatchThemeContext?: () => void; private _updateSuggest(props: MMapSuggestProps) { @@ -154,8 +153,6 @@ class MMapSuggest extends mappable.MMapComplexEntity { this._detachDom?.(); this._detachDom = undefined; - this._unwatchSearchContext?.(); - this._unwatchSearchContext = undefined; this._unwatchThemeContext?.(); this._unwatchThemeContext = undefined;