style: format constructor style in components

This commit is contained in:
Jan K9f 2025-04-02 09:03:36 +02:00 committed by Jan-Marlon Leibl
parent 2405c00f49
commit 2a11675fb6
Signed by: jleibl
GPG key ID: 300B2F906DC6F1D5
3 changed files with 3 additions and 3 deletions

View file

@ -58,7 +58,7 @@ export class PlayingCardComponent implements AfterViewInit, OnChanges {
@Input({ required: true }) hidden!: boolean;
@Input() isNew = false;
constructor(private elementRef: ElementRef) { }
constructor(private elementRef: ElementRef) {}
get isRedSuit(): boolean {
return this.suit === 'HEARTS' || this.suit === 'DIAMONDS';