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
commit aa5355e93d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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,