import { CommonModule } from '@angular/common';
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { BackLinkModule } from '@msfa-shared/components/back-link/back-link.module';
import { LayoutModule } from '@msfa-shared/components/layout/layout.module';
import { UnauthorizedComponent } from './unauthorized.component';

@NgModule({
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  declarations: [UnauthorizedComponent],
  imports: [
    CommonModule,
    RouterModule.forChild([{ path: '', component: UnauthorizedComponent }]),
    LayoutModule,
    BackLinkModule,
  ],
})
export class UnauthorizedModule {}
