Skip to content

Commit

Permalink
fix(ui): fix close ui plugin config
Browse files Browse the repository at this point in the history
close #1914
  • Loading branch information
wzhudev committed Apr 26, 2024
1 parent f07c2d9 commit fc99965
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/ui/src/ui-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -73,7 +72,7 @@ export class UniverUIPlugin extends Plugin {

constructor(
private _config: Partial<IUniverUIConfig> = {},
@IConfigService private readonly _contextService: IContextService,
@IContextService private readonly _contextService: IContextService,
@Inject(Injector) protected readonly _injector: Injector,
@Inject(LocaleService) private readonly _localeService: LocaleService
) {
Expand Down

0 comments on commit fc99965

Please sign in to comment.