add DatePipe to providers in routing module (#1570)

This commit is contained in:
Robyn MacCallum 2022-03-29 12:55:27 -04:00 committed by GitHub
parent 11034de7d1
commit 42ececbcf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
import { DatePipe } from "@angular/common";
import { NgModule } from "@angular/core";
import { RouterModule, Routes } from "@angular/router";
@ -473,5 +474,6 @@ const routes: Routes = [
}),
],
exports: [RouterModule],
providers: [DatePipe],
})
export class OssRoutingModule {}