autowp/autowp-frontend

View on GitHub
src/app/feedback/feedback-routing.module.ts

Summary

Maintainability
A
3 hrs
Test Coverage
import {Routes} from '@angular/router';
 
Similar blocks of code found in 2 locations. Consider refactoring.
export const routes: Routes = [
{
loadComponent: () => import('./sent/sent.component').then((m) => m.FeedbackSentComponent),
path: 'sent',
pathMatch: 'full',
title: $localize`Message sent`,
},
{
loadComponent: () => import('./feedback.component').then((m) => m.FeedbackComponent),
path: '',
pathMatch: 'full',
title: $localize`Feedback`,
},
];