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 = {
|
export const Routes = {
|
||||||
HOME: '/',
|
HOME: '/',
|
||||||
TX: 'txs',
|
TX: 'txs',
|
||||||
PENDING: 'pending',
|
|
||||||
BLOCKS: 'blocks',
|
BLOCKS: 'blocks',
|
||||||
PARTIES: 'parties',
|
PARTIES: 'parties',
|
||||||
VALIDATORS: 'validators',
|
VALIDATORS: 'validators',
|
||||||
@ -42,6 +41,10 @@ const routerConfig = [
|
|||||||
name: 'Txs',
|
name: 'Txs',
|
||||||
element: <Txs />,
|
element: <Txs />,
|
||||||
children: [
|
children: [
|
||||||
|
{
|
||||||
|
path: 'pending',
|
||||||
|
element: <PendingTxs />,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: ':txHash',
|
path: ':txHash',
|
||||||
element: <Tx />,
|
element: <Tx />,
|
||||||
@ -52,17 +55,6 @@ const routerConfig = [
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: Routes.PENDING,
|
|
||||||
name: 'Pending txs',
|
|
||||||
element: <Txs />,
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
index: true,
|
|
||||||
element: <PendingTxs />,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
path: Routes.BLOCKS,
|
path: Routes.BLOCKS,
|
||||||
name: 'Blocks',
|
name: 'Blocks',
|
||||||
|
Loading…
Reference in New Issue
Block a user