Fix react warnings
This commit is contained in:
parent
b077b117a9
commit
1b3254dd0b
|
@ -42,7 +42,7 @@
|
|||
[:div.footer-row
|
||||
(when-not (= item-type "new-bounty")
|
||||
(for [[tla balance] (merge tokens {:ETH balance-eth})]
|
||||
^{:key (str display-name tla)}
|
||||
^{:key (random-uuid)}
|
||||
[:div.balance-badge
|
||||
(str (subs (str tla) 1) " " balance)]))
|
||||
[:div.time (moment-timestamp updated)]]]])
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
(str " (USD " value-usd ")")]
|
||||
[:div.footer-row
|
||||
(for [[tla balance] (merge tokens {:ETH balance-eth})]
|
||||
^{:key (random-uuid)}
|
||||
[:div.balance-badge
|
||||
(str (subs (str tla) 1) " " balance)])
|
||||
[:div.time (moment-timestamp updated)]]]]))
|
||||
|
|
|
@ -154,10 +154,11 @@ Zug, Switzerland"]]
|
|||
[:h4.commiteth-footer-header "Social networks"]
|
||||
[:ul.commiteth-footer-list
|
||||
(for [[svg caption url] social-links]
|
||||
^{:key (random-uuid)}
|
||||
[:li.commiteth-footer-link
|
||||
[:a {:href url}
|
||||
[:div.commiteth-footer-icon
|
||||
{:style {"background-image" (str "url(/img/" svg ".svg)")}}]
|
||||
{:style {:background-image (str "url(/img/" svg ".svg)")}}]
|
||||
[:span.commiteth-footer-link-label caption]]])]]
|
||||
[:div.commiteth-footer-table__column
|
||||
[:h4.commiteth-footer-header "Community"]
|
||||
|
|
Loading…
Reference in New Issue