Skip to content

Commit

Permalink
only import needed deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed Ben Makhlouf committed Oct 13, 2024
1 parent 28fb83b commit 38284ba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/components/skeleton/skeleton.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { CommonModule } from '@angular/common';
import { ChangeDetectionStrategy, Component, inject, Input, NgModule, ViewEncapsulation } from '@angular/core';
import { NgClass, NgStyle } from '@angular/common';
import { ChangeDetectionStrategy, Component, computed, inject, input, NgModule, ViewEncapsulation } from '@angular/core';
import { BaseComponent } from 'primeng/basecomponent';
import { SkeletonStyle } from './style/skeletonstyle';
Expand Down Expand Up @@ -89,7 +88,7 @@ export class Skeleton extends BaseComponent {
}

@NgModule({
imports: [CommonModule],
imports: [NgClass, NgStyle],
exports: [Skeleton],
declarations: [Skeleton],
})
Expand Down

0 comments on commit 38284ba

Please sign in to comment.