Skip to content

Commit fda4c45

Browse files
committed
Fix viewer error in builder ui by using fully-qualifed symbol
1 parent 2997b26 commit fda4c45

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Changes can be:
88
## Unreleased
99

1010
* 💫 Support pagination for values nested inside `clerk/html`
11+
* 🐞 Fix builder ui by using fully-qualifed symbol
1112

1213
## 0.13.838 (2023-03-02)
1314

src/nextjournal/clerk/builder_ui.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@
224224

225225
(def docs-viewer
226226
{:render-fn '(fn [state opts]
227-
(into [:div.flex.flex-col.border-greenish-50.mt-8 {:class (when (seq state) "border-t-[3px]")}] (v/inspect-children opts) state))
227+
(into [:div.flex.flex-col.border-greenish-50.mt-8 {:class (when (seq state) "border-t-[3px]")}] (nextjournal.clerk.render/inspect-children opts) state))
228228
:transform-fn (viewer/update-val (fn [docs]
229229
(mapv #(viewer/with-viewer doc-build-badge-viewer %) docs)))})
230230

0 commit comments

Comments
 (0)