Skip to content

Commit

Permalink
Merge pull request #7347 from Jarsen136/issue-7343
Browse files Browse the repository at this point in the history
fix: Listing price: I set the price 1 DOT it listed item for 100 DOTs
  • Loading branch information
vikiival authored Sep 26, 2023
2 parents 8525e80 + e0e6299 commit b93df56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/common/listingCart/ListingCartModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const listingCartStore = useListingCartStore()
const { transaction, isLoading, status } = useTransaction()
const { $i18n } = useNuxtApp()
const { chainSymbol } = useChain()
const { chainSymbol, decimals } = useChain()
const defaultCartData = {
fixedPrice: undefined,
Expand Down Expand Up @@ -166,7 +166,7 @@ async function confirm() {
Boolean(item.listPrice)
)
.map((item) => ({
price: String(calculateBalance(item.listPrice)),
price: String(calculateBalance(item.listPrice, decimals.value)),
nftId: item.id,
})) as TokenToList[]
Expand Down

0 comments on commit b93df56

Please sign in to comment.