Browse Source

fix: lint warning

Tienson Qin 3 years ago
parent
commit
989f4db9c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/components/file_sync.cljs

+ 1 - 1
src/main/frontend/components/file_sync.cljs

@@ -374,7 +374,7 @@
 
                           ;; cancel pick a directory
                           (throw (js/Error. nil)))))})
-                  (p/catch (fn [^js e]))))
+                  (p/catch (fn []))))
     [:p.text-xs.opacity-50.px-1 (ui/icon "alert-circle") " An empty directory or an existing remote graph!"]]])
 
 (defn pick-dest-to-sync-panel [graph]