Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zampino committed Jan 15, 2024
1 parent 0f457c8 commit 9d4ae66
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/nextjournal/clerk/render.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
(declare clerk-eval)

(defn scroll-to-location-hash! []
(when-some [heading (when (and (exists? js/location))
(when-some [heading (when (exists? js/location)
(try (some-> js/location .-hash not-empty js/decodeURI (subs 1) js/document.getElementById)
(catch js/Error _
(js/console.warn (str "Clerk render-notebook, invalid hash: "
Expand Down
1 change: 0 additions & 1 deletion src/nextjournal/clerk/render/navbar.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
(:require ["framer-motion" :as framer-motion :refer [motion AnimatePresence]]
[applied-science.js-interop :as j]
[clojure.string :as str]
[nextjournal.clerk.render.hooks :as hooks]
[nextjournal.clerk.render.localstorage :as localstorage]
[reagent.core :as r]))

Expand Down

0 comments on commit 9d4ae66

Please sign in to comment.