Skip to content

Commit

Permalink
Hide horizontal rule for non-result code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
kimo-k committed Oct 28, 2023
1 parent 1677b14 commit 01c460a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/re_frame/docs.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
(when evaluable?
[eval-button {:on-eval eval! :hover? @hover? :focus? @focus?}])]
[validation validators @eval-result]
(when @eval-result [:hr])]
(when (and result? @eval-result) [:hr])]
(finally (.destroy @!view))))

(defonce mounts
Expand Down

0 comments on commit 01c460a

Please sign in to comment.