Skip to content

Commit 7ee3d04

Browse files
committed
fix(clients): fix clients routes
1 parent b0b02d6 commit 7ee3d04

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

libs/route-pages/for-clients/src/routes.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ import { StartupsComponent } from './startups.component';
22
import { SmallMediumBusinessesComponent } from './smallMediumBusinesses.component';
33
import { EnterprisesComponent } from './enterprises.component';
44
import { NonProfitComponent } from './nonProfit.component';
5+
import { Routes } from '@angular/router';
56

6-
export const routes = [
7+
export const routes: Routes = [
78
{
89
path: '',
910
children: [
@@ -25,7 +26,8 @@ export const routes = [
2526
},
2627
{
2728
path: '',
28-
redirectTo: 'startups'
29+
redirectTo: 'startups',
30+
pathMatch: 'full'
2931
},
3032
]
3133
}

0 commit comments

Comments
 (0)