From fc9996573b0c75156d56f8556bac9537f7704ab9 Mon Sep 17 00:00:00 2001 From: Wenzhao Hu Date: Fri, 26 Apr 2024 14:12:51 +0800 Subject: [PATCH] fix(ui): fix close ui plugin config close #1914 --- packages/ui/src/ui-plugin.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/ui/src/ui-plugin.ts b/packages/ui/src/ui-plugin.ts index c07407e8b7f..e23d79cbea2 100644 --- a/packages/ui/src/ui-plugin.ts +++ b/packages/ui/src/ui-plugin.ts @@ -14,8 +14,7 @@ * limitations under the License. */ -import type { IContextService } from '@univerjs/core'; -import { IConfigService, ILocalStorageService, LocaleService, Plugin } from '@univerjs/core'; +import { IContextService, ILocalStorageService, LocaleService, Plugin } from '@univerjs/core'; import type { Dependency } from '@wendellhu/redi'; import { Inject, Injector } from '@wendellhu/redi'; @@ -73,7 +72,7 @@ export class UniverUIPlugin extends Plugin { constructor( private _config: Partial = {}, - @IConfigService private readonly _contextService: IContextService, + @IContextService private readonly _contextService: IContextService, @Inject(Injector) protected readonly _injector: Injector, @Inject(LocaleService) private readonly _localeService: LocaleService ) {