some cleanup
This commit is contained in:
parent
77eec6fe3f
commit
d0da640fdd
|
@ -52,7 +52,7 @@
|
||||||
:as bounty}
|
:as bounty}
|
||||||
{:keys [style] :as opts}]
|
{:keys [style] :as opts}]
|
||||||
[:div
|
[:div
|
||||||
[:a {:href (common/issue-url owner repo-name issue-number)}
|
[:a {:href (bnt/issue-url bounty)}
|
||||||
[:div.cf
|
[:div.cf
|
||||||
[:div.fl.w-80
|
[:div.fl.w-80
|
||||||
[:span.db.f4.muted-blue.hover-black issue-title]
|
[:span.db.f4.muted-blue.hover-black issue-title]
|
||||||
|
@ -129,10 +129,8 @@
|
||||||
;; Since the resulting payout is the same we can probably
|
;; Since the resulting payout is the same we can probably
|
||||||
;; ignore this edge case for a first version
|
;; ignore this edge case for a first version
|
||||||
:let [winning-claim (->> (:claims bounty)
|
:let [winning-claim (->> (:claims bounty)
|
||||||
(filter #(do (prn bounty)
|
(filter #(= (:user_login %)
|
||||||
(prn %)
|
(:winner_login bounty)))
|
||||||
(= (:user_login %)
|
|
||||||
(:winner_login bounty))))
|
|
||||||
util/assert-first)]]
|
util/assert-first)]]
|
||||||
^{:key (:issue_id bounty)}
|
^{:key (:issue_id bounty)}
|
||||||
[:div.mb2
|
[:div.mb2
|
||||||
|
|
Loading…
Reference in New Issue