Put pending under txs route

This commit is contained in:
sam-keen 2022-03-03 16:51:42 +00:00 committed by Dexter Edwards
parent 65ffa8519c
commit c797a11ceb

View File

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