Skip to content

Commit

Permalink
fix: use currency decimals in default tiered sales selector
Browse files Browse the repository at this point in the history
  • Loading branch information
aramalipoor committed Jan 4, 2023
1 parent 0bc31b8 commit fa09767
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,13 @@ export const TieredSalesSelector = ({
) : (
<CryptoValue
symbol={currencySymbol}
value={tierConfig?.price?.toString()}
value={tierConfig.price?.toString()}
formatted={false}
decimals={
currencyDecimals ||
chainInfo?.nativeCurrency.decimals ||
18
}
showPrice={false}
showSymbol={true}
/>
Expand Down

0 comments on commit fa09767

Please sign in to comment.