Skip to content

Commit

Permalink
Fix :require-cljs
Browse files Browse the repository at this point in the history
  • Loading branch information
mk committed Oct 18, 2024
1 parent b0c2f63 commit 08cebfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nextjournal/clerk/cljs_libs.clj
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
(if-let [r (:require-cljs viewer)]
(let [cljs-ns (if (true? r)
;; at this point, the render-fn has been transformed to a `ViewerFn`, which contains a :form
(-> viewer :render-fn :form namespace symbol)
(-> viewer :render-fn peek namespace symbol)
r)]
(require-cljs* state cljs-ns))
v)
Expand Down

0 comments on commit 08cebfe

Please sign in to comment.