Skip to content

Commit

Permalink
Fix redundant let, found by linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dhleong committed Nov 27, 2019
1 parent 60169af commit d75a88b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/cljs/wish/sheets/dnd5e/builder.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -570,11 +570,11 @@
label]]

[:tr
(let [] (for [[id _] labeled-abilities]
^{:key id}
[:td (if-let [b (get bonuses id)]
(mod->str b)
"")]))]]))
(for [[id _] labeled-abilities]
^{:key id}
[:td (if-let [b (get bonuses id)]
(mod->str b)
"")])]]))

(defn abilities-page []
(let [mode (<sub [::builder/abilities-mode])]
Expand Down

0 comments on commit d75a88b

Please sign in to comment.