Skip to content

Commit

Permalink
[AC-1453] Update TrialInitiationModule with new standalone component (#…
Browse files Browse the repository at this point in the history
…6448)

* import new standalone components directly into TrialInitiationModule instead of
  importing and re-exporting through LooseComponentsModule
  • Loading branch information
eliykat authored Oct 9, 2023
1 parent b05b3a2 commit 21fef9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ import { FormFieldModule } from "@bitwarden/components";

import { OrganizationCreateModule } from "../../admin-console/organizations/create/organization-create.module";
import { RegisterFormModule } from "../../auth/register-form/register-form.module";
import { PaymentComponent, TaxInfoComponent } from "../../billing";
import { BillingComponent } from "../../billing/accounts/trial-initiation/billing.component";
import { EnvironmentSelectorModule } from "../../components/environment-selector/environment-selector.module";
import { LooseComponentsModule, SharedModule } from "../../shared";
import { SharedModule } from "../../shared";

import { ConfirmationDetailsComponent } from "./confirmation-details.component";
import { AbmEnterpriseContentComponent } from "./content/abm-enterprise-content.component";
Expand Down Expand Up @@ -37,8 +38,9 @@ import { VerticalStepperModule } from "./vertical-stepper/vertical-stepper.modul
FormFieldModule,
RegisterFormModule,
OrganizationCreateModule,
LooseComponentsModule,
EnvironmentSelectorModule,
PaymentComponent,
TaxInfoComponent,
],
declarations: [
TrialInitiationComponent,
Expand Down
11 changes: 0 additions & 11 deletions apps/web/src/app/shared/loose-components.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ import { UpdatePasswordComponent } from "../auth/update-password.component";
import { UpdateTempPasswordComponent } from "../auth/update-temp-password.component";
import { VerifyEmailTokenComponent } from "../auth/verify-email-token.component";
import { VerifyRecoverDeleteComponent } from "../auth/verify-recover-delete.component";
import { BillingSharedModule } from "../billing/shared";
import { DynamicAvatarComponent } from "../components/dynamic-avatar.component";
import { SelectableAvatarComponent } from "../components/selectable-avatar.component";
import { FooterComponent } from "../layouts/footer.component";
Expand Down Expand Up @@ -107,11 +106,6 @@ import { SharedModule } from "./shared.module";
EnvironmentSelectorModule,
AccountFingerprintComponent,
PasswordCalloutComponent,

// Temporary export to be removed in AC-1453
// Import PaymentComponent and TaxInfoComponent directly into TrialIniationComponent
// and remove BillingSharedModule here
BillingSharedModule,
],
declarations: [
AcceptEmergencyComponent,
Expand Down Expand Up @@ -282,11 +276,6 @@ import { SharedModule } from "./shared.module";
VerifyEmailTokenComponent,
VerifyRecoverDeleteComponent,
LowKdfComponent,

// Temporary export to be removed in AC-1453
// Import PaymentComponent and TaxInfoComponent directly into TrialIniationComponent
// and remove BillingSharedModule here
BillingSharedModule,
],
})
export class LooseComponentsModule {}

0 comments on commit 21fef9d

Please sign in to comment.