some cleanup

This commit is contained in:
Martin Klepsch 2018-04-06 14:16:39 +02:00 committed by Tetiana Churikova
parent 77eec6fe3f
commit d0da640fdd
1 changed files with 3 additions and 5 deletions

View File

@ -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