Skip to content

Commit

Permalink
fix(angular): fix initAndStart missing parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ls-infra committed Oct 7, 2024
1 parent c81e4e1 commit 9e9d9f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions verify/angular/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ export class MonacoEditorComponent implements AfterViewInit {

async ngAfterViewInit(): Promise<void> {
const wrapper = new MonacoEditorLanguageClientWrapper();

const htmlElement = document.getElementById('monaco-editor-root');
try {
await wrapper.initAndStart(jsonClientUserConfig);
await wrapper.initAndStart(jsonClientUserConfig , htmlElement );
} catch (e) {
console.error(e);
}
Expand Down

0 comments on commit 9e9d9f8

Please sign in to comment.