1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

Only import BrowserModule once (#14354)

Desktop imported BrowserModule & BrowserAnimationModule multiple times which can result in compile errors. Following the patterns used in our other clients this updates the BrowserModule import to only occur in app.module.
This commit is contained in:
Oscar Hinton
2025-04-22 11:59:52 +02:00
committed by GitHub
parent 98fa07f7b9
commit fbe86da98b
3 changed files with 8 additions and 9 deletions

View File

@@ -4,6 +4,7 @@ import "zone.js";
import "../platform/app/locales";
import { NgModule } from "@angular/core";
import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
import { ColorPasswordCountPipe } from "@bitwarden/angular/pipes/color-password-count.pipe";
import { ColorPasswordPipe } from "@bitwarden/angular/pipes/color-password.pipe";
@@ -44,6 +45,8 @@ import { SharedModule } from "./shared/shared.module";
@NgModule({
imports: [
BrowserAnimationsModule,
SharedModule,
AppRoutingModule,
VaultFilterModule,