Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
deuch13 committed May 13, 2024
1 parent c71b70f commit c91f186
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
4 changes: 2 additions & 2 deletions explorer/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@

<section class="tables">
<BlocksCard
on:retry={() => pollingDataStore.start()}
on:retry={pollingDataStore.start}
className="tables-layout"
blocks={data?.blocks}
{error}
loading={isLoading}
/>

<TransactionsCard
on:retry={() => pollingDataStore.start()}
on:retry={pollingDataStore.start}
className="tables-layout"
txs={data?.transactions}
{error}
Expand Down
9 changes: 2 additions & 7 deletions explorer/src/routes/blocks/block/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,11 @@

<section class="block">
<div class="block__details">
<BlockDetails
on:retry={() => getBlock()}
{data}
{error}
loading={isLoading}
/>
<BlockDetails on:retry={getBlock} {data} {error} loading={isLoading} />
</div>
<div class="block__transactions">
<TransactionsCard
on:retry={() => getBlock()}
on:retry={getBlock}
txs={data?.transactions.data}
{error}
loading={isLoading}
Expand Down
2 changes: 1 addition & 1 deletion explorer/src/routes/transactions/transaction/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

<section class="transaction">
<TransactionDetails
on:retry={() => getTransaction()}
on:retry={getTransaction}
{data}
{error}
loading={isLoading}
Expand Down

0 comments on commit c91f186

Please sign in to comment.