optimized api calls by moving api call to individual components and improved performance
This commit is contained in:
@@ -8,12 +8,7 @@ import { ISideBar } from '../contact-sidebar/side-bar.model';
|
||||
templateUrl: './contact.component.html',
|
||||
styleUrl: './contact.component.scss'
|
||||
})
|
||||
export class ContactComponent extends BaseComponent<ISideBar> implements OnInit{
|
||||
export class ContactComponent {
|
||||
constructor(svc: CvService){
|
||||
super(svc);
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
this.init();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user