Skip to content

Commit

Permalink
feat: network relevant market stats in dashboard (#400)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeromanowicz authored Jul 26, 2023
1 parent 66dbd21 commit bc87624
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/MarketStats.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
Current {{ selectedNetwork }} Stats
</h2>
<ul class="market-stats__list">
<li class="market-stats__item">
<li
v-if="isMainnet"
class="market-stats__item">
<div class="market-stats__label">
Price:
</div>
Expand All @@ -17,7 +19,9 @@
</app-chip>
</div>
</li>
<li class="market-stats__item">
<li
v-if="isMainnet"
class="market-stats__item">
<div class="market-stats__label">
Marketcap:
</div>
Expand Down Expand Up @@ -53,6 +57,8 @@ const selectedNetwork = `${NETWORK_NAME
.charAt(0)
.toUpperCase()}${NETWORK_NAME.slice(1).toLowerCase()}`
const isMainnet = NETWORK_NAME.toLowerCase() === 'mainnet'
const {
price,
priceChange,
Expand Down

0 comments on commit bc87624

Please sign in to comment.