diff --git a/src/app/shared/icons/favorite/favorite.component.ts b/src/app/shared/icons/favorite/favorite.component.ts index 71509a66f14f890af2fb67b20fd0d5ea804f0582..7414845c237164d24629c823c706df42b28d3559 100644 --- a/src/app/shared/icons/favorite/favorite.component.ts +++ b/src/app/shared/icons/favorite/favorite.component.ts @@ -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); } }