Skip to content

Commit 3ff3998

Browse files
committed
change variable from let to const
1 parent 57d1766 commit 3ff3998

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/app/app-routing.module.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ import { UsersComponent } from './modules/users/pages/users.component';
1414
import { EnvironmentType } from 'src/environments/enum';
1515
import { environment } from 'src/environments/environment';
1616

17-
let isLegacyProd: boolean = environment.production === EnvironmentType.TT_PROD_LEGACY;
17+
const isLegacyProd: boolean = environment.production === EnvironmentType.TT_PROD_LEGACY;
1818
let routes: Routes;
1919

2020
if (isLegacyProd) {
2121
routes = [
22-
{
22+
{
2323
path: '',
2424
children: [
2525
{ path: '**', redirectTo: 'redirect-message' },
2626
],
2727
},
28-
]
28+
];
2929

3030
} else {
3131
routes = [

0 commit comments

Comments
 (0)