Merge pull request #5229 from rishkwal/rishkwal/fix-tx-base-route

Redirect user to `/` when user goes to `/tx` without any transaction `id`
This commit is contained in:
softsimon
2024-06-27 21:44:27 +09:00
committed by GitHub

View File

@@ -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,