mirror of https://github.com/logseq/logseq
refactor let bindings
parent
bba9c935e0
commit
39931bde63
|
@ -273,8 +273,8 @@
|
|||
(when @src
|
||||
(let [ext (keyword (util/get-file-ext @src))
|
||||
repo (state/get-current-repo)
|
||||
repo-dir (config/get-repo-dir (state/get-current-repo))
|
||||
path (str (config/get-repo-dir repo) href)
|
||||
repo-dir (config/get-repo-dir repo)
|
||||
path (str repo-dir href)
|
||||
share-fn (fn [event]
|
||||
(util/stop event)
|
||||
(when (mobile-util/native-platform?)
|
||||
|
|
Loading…
Reference in New Issue