From d189e7081786f6e920414d60cd03f72a4d1af02c Mon Sep 17 00:00:00 2001 From: Rishabh Date: Thu, 27 Jun 2024 15:11:00 +0530 Subject: [PATCH] fix: redirect `/tx/` routes to `/` --- .../src/app/components/transaction/transaction.module.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/src/app/components/transaction/transaction.module.ts b/frontend/src/app/components/transaction/transaction.module.ts index eb663c9ac..01404db56 100644 --- a/frontend/src/app/components/transaction/transaction.module.ts +++ b/frontend/src/app/components/transaction/transaction.module.ts @@ -9,6 +9,11 @@ import { AcceleratePreviewComponent } from '../accelerate-preview/accelerate-pre import { AccelerateFeeGraphComponent } from '../accelerate-preview/accelerate-fee-graph.component'; const routes: Routes = [ + { + path: '', + redirectTo: '/', + pathMatch: 'full', + }, { path: ':id', component: TransactionComponent,