style: format constructor style in components
This commit is contained in:
		
					parent
					
						
							
								f5a16efa67
							
						
					
				
			
			
				commit
				
					
						35d53bce30
					
				
			
		
					 3 changed files with 3 additions and 3 deletions
				
			
		|  | @ -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'; | ||||
|  |  | |||
|  | @ -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'; | ||||
|  |  | |||
|  | @ -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) { | ||||
|  |  | |||
		Reference in a new issue