瀏覽代碼

fix: lint warnings

Tienson Qin 3 年之前
父節點
當前提交
515b89182d
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/main/frontend/components/block.cljs

+ 3 - 3
src/main/frontend/components/block.cljs

@@ -2308,7 +2308,7 @@
   (editor-handler/unhighlight-blocks!))
 
 (defn- block-mouse-over
-  [uuid e *control-show? block-id doc-mode?]
+  [e *control-show? block-id doc-mode?]
   (when-not @*dragging?
     (util/stop e)
     (reset! *control-show? true)
@@ -2473,7 +2473,7 @@
                        (block-handler/on-touch-end event block uuid *show-left-menu? *show-right-menu?))
        :on-touch-cancel block-handler/on-touch-cancel
        :on-mouse-over (fn [e]
-                        (block-mouse-over uuid e *control-show? block-id doc-mode?))
+                        (block-mouse-over e *control-show? block-id doc-mode?))
        :on-mouse-leave (fn [e]
                          (block-mouse-leave e *control-show? block-id doc-mode?))}
       (when (not slide?)
@@ -2790,7 +2790,7 @@
            [:span.opacity-60.text-sm.ml-2.results-count
             (str (count transformed-query-result) " results")]]
            ;;insert an "edit" button in the query view
-           (when-not built-in? 
+           (when-not built-in?
             [:a.opacity-70.hover:opacity-100.svg-small.inline
                       {:on-mouse-down (fn [e]
                                         (util/stop e)