code refactoring

This commit is contained in:
2024-04-28 23:31:27 +05:30
parent f781ad43f4
commit 549444dd59
12 changed files with 6 additions and 29 deletions
+1 -6
View File
@@ -1,10 +1,9 @@
import { Component, OnDestroy, OnInit } from '@angular/core';
import { Component, OnInit } from '@angular/core';
import { BaseComponent } from '../base/base.component';
import { CvService } from '../services/cv.service';
import { IProjects } from './projects.model';
import { IProject } from '../models/project.model';
import { HttpClient } from '@angular/common/http';
import { ICv } from '../models/cv.model';
import { Subscription } from 'rxjs';
@Component({
@@ -22,10 +21,6 @@ categoryClicked: boolean = false;
}
ngOnInit(): void {
// this.subscription = this.svc.baseSubject.subscribe((resume: ICv | unknown) =>{
// this.projects = this.model.projects;
// });
// this.init();
this.getProjects();
}