We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60e8b65 commit f81140aCopy full SHA for f81140a
verify/angular/src/monaco-angular-wrapper/monaco-angular-wrapper.component.ts
@@ -38,12 +38,10 @@ export class MonacoAngularWrapperComponent implements OnDestroy {
38
effect(async () => {
39
try {
40
if (this.wrapperConfig() !== undefined) {
41
- if (this.wrapperConfig() !== undefined) {
42
- await this.wrapper.initAndStart(
43
- this.wrapperConfig() as WrapperConfig
44
- );
45
- this.handleOnTextChanged();
46
- }
+ await this.wrapper.initAndStart(
+ this.wrapperConfig() as WrapperConfig
+ );
+ this.handleOnTextChanged();
47
}
48
} catch (e) {
49
console.error(e);
0 commit comments