refactor let bindings

pull/5878/head
llcc 2022-06-29 10:54:08 +08:00 committed by Gabriel Horner
parent bba9c935e0
commit 39931bde63
1 changed files with 2 additions and 2 deletions

View File

@ -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?)