Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Nov 11, 2024
1 parent e2b165e commit 728ae6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nextjournal/clerk/render/hooks.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
(defn use-ref
"React hook: useRef. Can also be used like an atom."
([] (use-ref nil))
([init] (if js/CLERK_SSR
([init] (if (unchecked-get js/globalThis "CLERK_SSR")
(atom init)
(specify-atom! (react/useRef init)))))

Expand Down

0 comments on commit 728ae6e

Please sign in to comment.