mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-25 22:25:53 +02:00
Update to angular 22
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { NgModule, ErrorHandler } from '@angular/core';
|
||||
import { NgModule, ErrorHandler, provideZoneChangeDetection } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { HttpClientModule } from '@angular/common/http';
|
||||
@@ -54,6 +54,7 @@ export const routes: Routes = [
|
||||
EditorBox,
|
||||
],
|
||||
providers: [
|
||||
provideZoneChangeDetection(),
|
||||
{ provide: RollbarService, useFactory: rollbarFactory },
|
||||
{ provide: ErrorHandler, useClass: RollbarErrorHandler },
|
||||
{ provide: ErrorReporter, useClass: RollbarErrorReporter },
|
||||
|
||||
Reference in New Issue
Block a user