fix: lint

pull/11483/head
Tienson Qin 2024-08-16 10:11:32 +08:00
parent 7971b0cc21
commit 28f8d82bb7
1 changed files with 1 additions and 11 deletions

View File

@ -500,17 +500,7 @@
:on-change (fn [e]
(let [files (.-files (.-target e))]
(editor-handler/upload-asset! id files format editor-handler/*asset-uploading? false)))
:hidden true}]
#_:clj-kondo/ignore
;(when-let [uploading? (util/react editor-handler/*asset-uploading?)]
; (let [processing (util/react editor-handler/*asset-uploading-process)]
; (transition-cp
; [:div.flex.flex-row.align-center.rounded-md.shadow-sm.bg-base-2.px-1.py-1
; (ui/loading
; (util/format "Uploading %s%" (util/format "%2d" processing)))]
; "upload-file"
; false)))
])
:hidden true}]])
(defn- set-up-key-down!
[state format]