refactor: update import paths for better readability #109

Merged
jank merged 10 commits from refactor-some-dots into task/CAS-50/add_rest_blackjack_logic_with_frontend_animations 2025-04-02 07:27:11 +00:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 35d53bce30 - Show all commits

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';

View file

@ -21,7 +21,7 @@ export default class HomeComponent implements OnInit {
constructor(
public route: ActivatedRoute,
public router: Router
) { }
) {}
ngOnInit() {
this.isDepositSuccessful = this.route.snapshot.queryParams['success'] == 'true';

View file

@ -23,7 +23,7 @@ export class ConfirmationComponent implements AfterViewInit, OnDestroy {
@ViewChild('modalBg') modalBg!: ElementRef;
@ViewChild('modalCard') modalCard!: ElementRef;
constructor(private modalAnimationService: ModalAnimationService) { }
constructor(private modalAnimationService: ModalAnimationService) {}
ngAfterViewInit() {
if (this.successful) {