Skip to content

Commit

Permalink
display correct token inside Bid with DAI
Browse files Browse the repository at this point in the history
  • Loading branch information
valiafetisov committed Oct 21, 2024
1 parent 9326bac commit 7af2e9c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Bid <format-currency :value="transactionBidAmount" currency="DAI" /> for
<format-currency
:value="amountToReceive || auctionTransaction.collateralAmount"
:currency="auctionTransaction.collateralSymbol"
:currency="auctionTransaction.tokenName"
/>
</span>
</BaseButton>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div>
<FormatCurrency
:value="auctionTransaction.collateralAmount"
:currency="auctionTransaction.collateralSymbol"
:currency="auctionTransaction.tokenName"
/>
</div>
</div>
Expand All @@ -21,7 +21,7 @@
<template v-if="auctionTransaction.isActive">
<PriceDropAnimation :auction="auctionTransaction" class="mr-1" />
<FormatCurrency :value="auctionTransaction.approximateUnitPrice" currency="DAI" /> per
<span class="uppercase">{{ auctionTransaction.collateralSymbol }}</span>
<span class="uppercase">{{ auctionTransaction.tokenName }}</span>
</template>
<span v-else class="opacity-50">Unknown</span>
</div>
Expand Down Expand Up @@ -94,11 +94,11 @@
<format-currency
v-if="amountToReceive && isActive && !isBidAmountNaN"
:value="amountToReceive"
:currency="auctionTransaction.collateralSymbol"
:currency="auctionTransaction.tokenName"
/>
<div v-else>
<span class="opacity-50">Unknown</span>
<span class="font-bold">{{ auctionTransaction.collateralSymbol }}</span>
<span class="font-bold">{{ auctionTransaction.tokenName }}</span>
</div>
</div>
</div>
Expand Down

0 comments on commit 7af2e9c

Please sign in to comment.