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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user