Skip to content

Commit

Permalink
qa
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarBasem committed Dec 27, 2023
1 parent dd2106c commit 6cebcf5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/status_im/contexts/wallet/common/utils.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@
(let [price (get-in market-values-per-currency [:usd :price])
one-cent-value (/ 0.01 price)
count (calc-max-crypto-decimals one-cent-value)]
(.toFixed token-units count)))
(if (< token-units one-cent-value)
(str "<" one-cent-value)
(.toFixed token-units count))))

(defn total-token-units-in-all-chains
[{:keys [balances-per-chain decimals] :as _token}]
Expand Down

0 comments on commit 6cebcf5

Please sign in to comment.