'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 ( return (
<> <section>
<section> <RouteTitle>Blocks</RouteTitle>
<RouteTitle>Blocks</RouteTitle> <BlocksRefetch refetch={refetch} />
<BlocksRefetch refetch={refetch} /> <BlocksTable data={data} />
<BlocksTable data={data} />
</section>
<JumpToBlock /> <JumpToBlock />
</> </section>
); );
}; };

View File

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