'jump to block' in same section tag as other route components

This commit is contained in:
sam-keen 2022-03-14 09:31:10 +00:00
parent 2d635808de
commit 8f22cbc0c9
2 changed files with 10 additions and 16 deletions

View File

@ -14,15 +14,12 @@ const Blocks = () => {
);
return (
<>
<section>
<RouteTitle>Blocks</RouteTitle>
<BlocksRefetch refetch={refetch} />
<BlocksTable data={data} />
</section>
<section>
<RouteTitle>Blocks</RouteTitle>
<BlocksRefetch refetch={refetch} />
<BlocksTable data={data} />
<JumpToBlock />
</>
</section>
);
};

View File

@ -14,15 +14,12 @@ const Txs = () => {
);
return (
<>
<section>
<RouteTitle>Transactions</RouteTitle>
<BlocksRefetch refetch={refetch} />
<BlocksTable data={data} showTransactions={true} />
</section>
<section>
<RouteTitle>Transactions</RouteTitle>
<BlocksRefetch refetch={refetch} />
<BlocksTable data={data} showTransactions={true} />
<JumpToBlock />
</>
</section>
);
};