mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 04:43:03 -05:00
fix: remove unnecessary imports (#1015)
This commit is contained in:
@@ -1,13 +1,11 @@
|
|||||||
import { TableComponent } from '@angular-challenges/shared/ui';
|
import { TableComponent } from '@angular-challenges/shared/ui';
|
||||||
import { AsyncPipe } from '@angular/common';
|
|
||||||
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
||||||
import { CurrencyPipe } from './currency.pipe';
|
|
||||||
import { ProductRowComponent } from './product-row.component';
|
import { ProductRowComponent } from './product-row.component';
|
||||||
import { products } from './product.model';
|
import { products } from './product.model';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [AsyncPipe, CurrencyPipe, TableComponent, ProductRowComponent],
|
imports: [TableComponent, ProductRowComponent],
|
||||||
selector: 'app-root',
|
selector: 'app-root',
|
||||||
template: `
|
template: `
|
||||||
<table [items]="products">
|
<table [items]="products">
|
||||||
|
|||||||
Reference in New Issue
Block a user