Skip to content

Commit 89a0516

Browse files
committed
Revert "just to see if this is it"
This reverts commit 21a427a.
1 parent 21a427a commit 89a0516

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/nextjournal/clerk/viewer.cljc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@
4545
(get-type [_] :val)))
4646

4747
(defn render-fn? [x]
48-
#?(:clj (and (some? x)
49-
(str/includes? (.getName (class x)) "RenderFn"))
50-
:cljs (instance? RenderFn x)))
48+
(instance? RenderFn x))
5149

5250
(defn render-eval? [x]
5351
(and (render-fn? x)

0 commit comments

Comments
 (0)