Explorar o código

fix: lint warning

Tienson Qin %!s(int64=3) %!d(string=hai) anos
pai
achega
ccfd76b2a8
Modificáronse 1 ficheiros con 5 adicións e 6 borrados
  1. 5 6
      src/main/frontend/components/header.cljs

+ 5 - 6
src/main/frontend/components/header.cljs

@@ -190,12 +190,11 @@
              (ui/icon "chevron-left" {:style {:fontSize 25}})])))]
 
      [:div.r.flex
-      (do
-        (when (and sync-enabled?
-                  current-repo
-                  (not (config/demo-graph? current-repo))
-                  (user-handler/alpha-user?))
-         (fs-sync/indicator)))
+      (when (and sync-enabled?
+                 current-repo
+                 (not (config/demo-graph? current-repo))
+                 (user-handler/alpha-user?))
+        (fs-sync/indicator))
 
       (when (and (not= (state/get-current-route) :home)
                  (not custom-home-page?))