import {AfterViewInit, Component, OnInit} from '@angular/core';

import {User} from '@app/_models';
import {AccountService} from '@app/_services';
import {AppHelperService} from "@app/_helpers/app-helper.service";

@Component({
    templateUrl: 'home.component.html',
    styleUrl: 'home.component.scss'
})
export class HomeComponent implements OnInit, AfterViewInit {

    protected user: User | null;

    constructor(
        private accountService: AccountService,
        protected appHelperService: AppHelperService
    ) {
        this.user = this.accountService.userValue;
    }

    ngOnInit(): void {
    }

    ngAfterViewInit() {
    }
}
