mirror of https://github.com/logseq/logseq
fix: console warning
parent
6afa07ae48
commit
0a229159f6
|
@ -457,8 +457,7 @@
|
|||
|
||||
(if (= "pdf" ext-name)
|
||||
[:a.asset-ref.is-pdf
|
||||
{:href "javascript:void(0);"
|
||||
:on-mouse-down (fn [e]
|
||||
{:on-mouse-down (fn [e]
|
||||
(when-let [current (pdf-assets/inflate-asset full-path)]
|
||||
(util/stop e)
|
||||
(state/set-state! :pdf/current current)))}
|
||||
|
|
|
@ -616,8 +616,8 @@
|
|||
([] (icon-info 16))
|
||||
([size]
|
||||
[:svg {:viewBox "0 0 1024 1024" :width size :height size :stroke "currentColor"}
|
||||
[:path {:d "M512 981.333333C253.866667 981.333333 42.666667 770.133333 42.666667 512S253.866667 42.666667 512 42.666667s469.333333 211.2 469.333333 469.333333-211.2 469.333333-469.333333 469.333333z m0-844.8c-206.506667 0-375.466667 168.96-375.466667 375.466667 0 206.506667 168.96 375.466667 375.466667 375.466667 206.506667 0 375.466667-168.96 375.466667-375.466667 0-206.506667-168.96-375.466667-375.466667-375.466667z" :p-id "2326" :fill "currentColor"}]
|
||||
[:path {:d "M512 796.714667a46.08 46.08 0 0 1-46.933333-46.933334v-269.056c0-26.624 20.352-46.933333 46.933333-46.933333 26.581333 0 46.933333 20.309333 46.933333 46.933333v269.056c0 26.624-20.352 46.933333-46.933333 46.933334zM512 364.928a46.08 46.08 0 0 1-46.933333-46.933333V274.218667c0-26.624 20.352-46.933333 46.933333-46.933334 26.581333 0 46.933333 20.309333 46.933333 46.933334v43.776c0 26.624-21.888 46.933333-46.933333 46.933333z" :p-id "2327" :fill "currentColor"}]]))
|
||||
[:path {:d "M512 981.333333C253.866667 981.333333 42.666667 770.133333 42.666667 512S253.866667 42.666667 512 42.666667s469.333333 211.2 469.333333 469.333333-211.2 469.333333-469.333333 469.333333z m0-844.8c-206.506667 0-375.466667 168.96-375.466667 375.466667 0 206.506667 168.96 375.466667 375.466667 375.466667 206.506667 0 375.466667-168.96 375.466667-375.466667 0-206.506667-168.96-375.466667-375.466667-375.466667z" :fill "currentColor"}]
|
||||
[:path {:d "M512 796.714667a46.08 46.08 0 0 1-46.933333-46.933334v-269.056c0-26.624 20.352-46.933333 46.933333-46.933333 26.581333 0 46.933333 20.309333 46.933333 46.933333v269.056c0 26.624-20.352 46.933333-46.933333 46.933334zM512 364.928a46.08 46.08 0 0 1-46.933333-46.933333V274.218667c0-26.624 20.352-46.933333 46.933333-46.933334 26.581333 0 46.933333 20.309333 46.933333 46.933334v43.776c0 26.624-21.888 46.933333-46.933333 46.933333z" :fill "currentColor"}]]))
|
||||
|
||||
(defn icon-cmd
|
||||
([] (icon-cmd 16))
|
||||
|
|
Loading…
Reference in New Issue