Skip to content

Commit

Permalink
dash loading adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
secondl1ght committed Dec 14, 2023
1 parent ba22caa commit 37cc27e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/routes/dashboard/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -551,54 +551,54 @@
stat={total}
change={totalChange}
border="border-b md:border-r border-statBorder"
loading={$syncStatus}
loading={$syncStatus && chartsRendered}
/>
<DashboardStat
title="Created in last 24 hours"
stat={created}
percent={createdPercentChange}
border="border-b xl:border-r border-statBorder"
loading={$syncStatus}
loading={$syncStatus && chartsRendered}
/>
<DashboardStat
title="Updated in last 24 hours"
stat={updated}
percent={updatedPercentChange}
border="border-b md:border-r border-statBorder"
loading={$syncStatus}
loading={$syncStatus && chartsRendered}
/>
<DashboardStat
title="Deleted in last 24 hours"
stat={deleted}
percent={deletedPercentChange}
border="border-b border-statBorder"
loading={$syncStatus}
loading={$syncStatus && chartsRendered}
/>
<DashboardStat
title="Merchants accepting on-chain"
stat={onchain}
percent={onchainPercentChange}
border="border-b xl:border-b-0 md:border-r border-statBorder"
loading={$syncStatus}
loading={$syncStatus && chartsRendered}
/>
<DashboardStat
title="Merchants accepting lightning"
stat={lightning}
percent={lightningPercentChange}
border="border-b xl:border-b-0 xl:border-r border-statBorder"
loading={$syncStatus}
loading={$syncStatus && chartsRendered}
/>
<DashboardStat
title="Merchants accepting contactless"
stat={nfc}
percent={nfcPercentChange}
border="border-b md:border-b-0 md:border-r border-statBorder"
loading={$syncStatus}
loading={$syncStatus && chartsRendered}
/>
<DashboardStat
title="Number of communities"
stat={communities && communities.length}
loading={$syncStatus}
loading={$syncStatus && chartsRendered}
/>
</div>
<p class="text-center text-sm text-body dark:text-white md:text-left">
Expand Down

0 comments on commit 37cc27e

Please sign in to comment.