From 6fd428e9d36492e81027c1607c5b14e15fc85c92 Mon Sep 17 00:00:00 2001 From: Dmytro Hachok Date: Thu, 18 Jan 2024 13:31:04 +0100 Subject: [PATCH] Remove unused import --- brx-spartacus-library/src/lib/brx-spartacus-lib.module.ts | 8 +++----- brx-spartacus-storefront/src/app/brx/brx.component.ts | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/brx-spartacus-library/src/lib/brx-spartacus-lib.module.ts b/brx-spartacus-library/src/lib/brx-spartacus-lib.module.ts index 3d971d8..fd6870e 100644 --- a/brx-spartacus-library/src/lib/brx-spartacus-lib.module.ts +++ b/brx-spartacus-library/src/lib/brx-spartacus-lib.module.ts @@ -15,7 +15,7 @@ * limitations under the License. */ -import { ModuleWithProviders, NgModule } from '@angular/core'; +import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { RouterModule } from '@angular/router'; import { BrSdkModule } from '@bloomreach/ng-sdk'; @@ -31,14 +31,12 @@ import { SpartacusProductListComponent } from './components/spartacus-product-li import { SpartacusProductListDirective } from './components/spartacus-product-list/spartacus-product-list.directive'; import { SpartacusSearchBoxComponent } from './components/spartacus-search-box/spartacus-search-box.component'; import { SpartacusSearchBoxDirective } from './components/spartacus-search-box/spartacus-search-box.directive'; -import { ConfigType } from './models/brx-config-type.model'; -import { BrxEndpointService } from './services/brx-endpoint.service'; import { BrxProductSearchModule } from './spartacus/brx/adapters/brx-product-search.module'; import { CmsBrxModule } from './spartacus/brx/cms-brx.module'; import { BrxProductNormalizerModule } from './spartacus/brx/normalizers/brx-product-normalizer.module'; // eslint-disable-next-line max-len import { PathwaysRecommendationsComponent } from './components/pathways-recommendations/pathways-recommendations.component'; -import { SpartacusProductFacetNavigationModule } from './components/spartacus-product-facet-navigation/index'; +import { SpartacusProductFacetNavigationModule } from './components/spartacus-product-facet-navigation'; import { SpartacusLoginFormComponent } from './components/spartacus-login-form/spartacus-login-form.component'; import { SpartacusLoginFormDirective } from './components/spartacus-login-form/spartacus-login-form.directive'; import { CustomPipesModule } from './pipes/custom-pipes.module'; @@ -72,7 +70,7 @@ import { SpartacusMiniCartDirective } from './components/spartacus-mini-cart/spa import { MyAccountMenuComponent } from './components/my-account-menu/my-account-menu.component'; import { SpartacusWishListComponent } from './components/spartacus-wish-list/spartacus-wish-list.component'; import { SpartacusWishListDirective } from './components/spartacus-wish-list/spartacus-wish-list.directive'; -import { SpartacusCheckoutModule } from './components/spartacus-checkout/spartacus-checkout.module'; +import { SpartacusCheckoutModule } from './components/spartacus-checkout'; import { SpartacusOrderConfirmationModule } from './components/spartacus-order-confirmation/spartacus-order-confirmation.module'; import { SpartacusForgotPasswordComponent } from './components/spartacus-forgot-password/spartacus-forgot-password.component'; import { SpartacusForgotPassswordDirective } from './components/spartacus-forgot-password/spartacus-forgot-password.directive'; diff --git a/brx-spartacus-storefront/src/app/brx/brx.component.ts b/brx-spartacus-storefront/src/app/brx/brx.component.ts index fbc9bae..98c3750 100644 --- a/brx-spartacus-storefront/src/app/brx/brx.component.ts +++ b/brx-spartacus-storefront/src/app/brx/brx.component.ts @@ -15,7 +15,7 @@ */ import { HttpErrorResponse } from '@angular/common/http'; -import { Component, Inject, InjectionToken, OnDestroy, OnInit, Optional } from '@angular/core'; +import { Component, Inject, InjectionToken, OnDestroy, Optional } from '@angular/core'; import { ActivatedRoute, NavigationEnd, Router } from '@angular/router'; import { BannerComponent,