Skip to content
Snippets Groups Projects
Commit 87043f99 authored by Kawtar Laariche's avatar Kawtar Laariche
Browse files

#19: remove console logs

parent 7b39f773
No related branches found
No related tags found
No related merge requests found
......@@ -17,20 +17,14 @@ import { PublicSolution } from '../../models';
templateUrl: './favorite.component.html',
styleUrl: './favorite.component.scss',
})
export class FavoriteComponent implements OnInit, OnChanges {
ngOnChanges(changes: SimpleChanges): void {}
export class FavoriteComponent {
@Input() loginUserID!: string;
@Input() item!: PublicSolution;
@Input() items!: PublicSolution[];
@Input() isFavoriteSolution!: boolean;
@Output() favoriteClicked = new EventEmitter<string>();
ngOnInit(): void {
console.log('isFavoriteSolution', this.isFavoriteSolution);
}
onFavoriteClick(solutionId: string): void {
console.log('FavoriteComponent', solutionId);
this.favoriteClicked.emit(solutionId);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment