import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {RouterModule, Routes} from '@angular/router';
import { SharedModule } from 'src/app/shared/shared.module';
import { ChangePasswordRouter } from './router/router';
import { FormComponent } from './form/form.component';

const routes: Routes = [
  {
    path: '',
    component: ChangePasswordRouter,
    children: [
      {
        path: '',
        component: FormComponent
      }
    ]
  }
];

@NgModule({
  declarations: [
    ChangePasswordRouter,
    FormComponent
  ],
  imports: [
    CommonModule,
    SharedModule,
    RouterModule.forChild(routes),
  ]
})
export class ChangePasswodModule { }
