Put pending under txs route
This commit is contained in:
parent
65ffa8519c
commit
c797a11ceb
@ -19,7 +19,6 @@ import { PendingTxs } from './pending';
|
||||
export const Routes = {
|
||||
HOME: '/',
|
||||
TX: 'txs',
|
||||
PENDING: 'pending',
|
||||
BLOCKS: 'blocks',
|
||||
PARTIES: 'parties',
|
||||
VALIDATORS: 'validators',
|
||||
@ -42,6 +41,10 @@ const routerConfig = [
|
||||
name: 'Txs',
|
||||
element: <Txs />,
|
||||
children: [
|
||||
{
|
||||
path: 'pending',
|
||||
element: <PendingTxs />,
|
||||
},
|
||||
{
|
||||
path: ':txHash',
|
||||
element: <Tx />,
|
||||
@ -52,17 +55,6 @@ const routerConfig = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: Routes.PENDING,
|
||||
name: 'Pending txs',
|
||||
element: <Txs />,
|
||||
children: [
|
||||
{
|
||||
index: true,
|
||||
element: <PendingTxs />,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: Routes.BLOCKS,
|
||||
name: 'Blocks',
|
||||
|
Loading…
Reference in New Issue
Block a user