Skip to content

Commit 67950f8

Browse files
committed
refactor: Remove explicit provideZoneChangeDetection from application bootstrap.
1 parent 03e277f commit 67950f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

angular/src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Component, provideZoneChangeDetection } from '@angular/core';
1+
import { Component } from '@angular/core';
22
import { bootstrapApplication } from '@angular/platform-browser';
33

44
@Component({
@@ -14,4 +14,4 @@ export class App {
1414
name = 'Angular';
1515
}
1616

17-
bootstrapApplication(App, { providers: [provideZoneChangeDetection()] });
17+
bootstrapApplication(App);

0 commit comments

Comments
 (0)