mirror of
https://github.com/status-im/status-react.git
synced 2025-02-10 18:06:52 +00:00
parent
1d298d0a5d
commit
b47f53777d
@ -6,11 +6,12 @@
|
||||
|
||||
(defn collectible-balance
|
||||
[collectible]
|
||||
(-> collectible
|
||||
:ownership
|
||||
first
|
||||
:balance
|
||||
js/parseInt))
|
||||
(let [balance (-> collectible
|
||||
:ownership
|
||||
first
|
||||
:balance
|
||||
js/parseInt)]
|
||||
(if (js/Number.isNaN balance) 0 balance)))
|
||||
|
||||
(def supported-collectible-types
|
||||
#{"image/jpeg"
|
||||
|
Loading…
x
Reference in New Issue
Block a user