import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

import { MyAccountComponent } from './myaccount.component';

import { ApiUserTokenResolve } from '../core/shared';

export const myAccountRoutes: Routes = [
    {
        path: '',
        component: MyAccountComponent,
        resolve: {
            token: ApiUserTokenResolve
        }
    }
];

@NgModule({
    imports: [RouterModule.forChild(myAccountRoutes)],
    exports: [RouterModule]
})
export class MyAccountRoutingModule { }
