Skip to content

Commit

Permalink
fix: fix uni e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
wzhudev committed Oct 10, 2024
1 parent a82059f commit 2470f91
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/slides-ui/src/slides-ui-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class UniverSlidesUIPlugin extends Plugin {
});

this._injector.get(CanvasView);
this._injector.get(SlideRenderController);
this._injector.get(SlideRenderService);
}

override onRendered(): void {
Expand All @@ -99,7 +99,6 @@ export class UniverSlidesUIPlugin extends Plugin {
// need TextSelectionRenderService which init by EditorContainer
[SlideEditorBridgeRenderController],
[SlideEditingRenderController],

] as Dependency[]).forEach((m) => {
// find all renderMap and register module to each item in renderMap
this.disposeWithMe(this._renderManagerService.registerRenderModule(UniverInstanceType.UNIVER_SLIDE, m));
Expand Down

0 comments on commit 2470f91

Please sign in to comment.