import { Component } from '@angular/core';
import { RouterOutlet } from '@angular/router';
import { AppShellComponent } from './core/components/app-shell/app-shell.component';
import { MsalService } from '@azure/msal-angular';

@Component({
    selector: 'app-root',
    imports: [AppShellComponent, RouterOutlet],
    templateUrl: './app.component.html',
    styleUrl: './app.component.scss'
})
export class AppComponent {
  title = 'dashboard';

  constructor(private readonly authService: MsalService) {
    this.authService.handleRedirectObservable().subscribe();
  }
}
