Fix react warnings
This commit is contained in:
parent
92628d040b
commit
ad3e764191
|
@ -32,7 +32,6 @@
|
||||||
issue-title
|
issue-title
|
||||||
item-type
|
item-type
|
||||||
tokens] :as item}]
|
tokens] :as item}]
|
||||||
(println item)
|
|
||||||
[:div.item.activity-item
|
[:div.item.activity-item
|
||||||
[:div.ui.mini.circular.image
|
[:div.ui.mini.circular.image
|
||||||
[:img {:src avatar-url}]]
|
[:img {:src avatar-url}]]
|
||||||
|
@ -43,6 +42,7 @@
|
||||||
[:div.footer-row
|
[:div.footer-row
|
||||||
(when-not (= item-type "new-bounty")
|
(when-not (= item-type "new-bounty")
|
||||||
(for [[tla balance] (merge tokens {:ETH balance-eth})]
|
(for [[tla balance] (merge tokens {:ETH balance-eth})]
|
||||||
|
^{:key (str display-name tla)}
|
||||||
[:div.balance-badge
|
[:div.balance-badge
|
||||||
(str (subs (str tla) 1) " " balance)]))
|
(str (subs (str tla) 1) " " balance)]))
|
||||||
[:div.time (moment-timestamp updated)]]]])
|
[:div.time (moment-timestamp updated)]]]])
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
[:div.ui.text "No data"]
|
[:div.ui.text "No data"]
|
||||||
(into [:div.ui.items]
|
(into [:div.ui.items]
|
||||||
(for [item activity-items]
|
(for [item activity-items]
|
||||||
[activity-item item])))] )
|
^{:key item} [activity-item item])))] )
|
||||||
|
|
||||||
(defn activity-page []
|
(defn activity-page []
|
||||||
(let [activity-items (rf/subscribe [:activity-feed])
|
(let [activity-items (rf/subscribe [:activity-feed])
|
||||||
|
|
Loading…
Reference in New Issue