import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {SharedModule} from '../../shared/shared.module';
import {RouterModule, Routes} from '@angular/router';
import { AuthCallbackRouter } from './router/router';
import { AuthCallbackComponent } from './presenter/auth-callback/auth-callback.component';

const routes: Routes = [
  {
    path: '',
    component: AuthCallbackRouter,
    children: [
      {
        path: '',
        component: AuthCallbackComponent
      },
    ]
  }
];

@NgModule({
  declarations: [
    AuthCallbackRouter,
    AuthCallbackComponent,

  ],
  imports: [
    CommonModule,
    SharedModule,
    RouterModule.forChild(routes),
  ]
})
export class AuthCallbackModule { }
