浏览代码

fix lint warning

leizhe 3 年之前
父节点
当前提交
c06ba6e2e6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/frontend/components/sidebar.cljs

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

@@ -330,7 +330,7 @@
            :else
            :else
            [:div {:class (if global-graph-pages? "" (util/hiccup->class "max-w-7xl.mx-auto.pb-24"))
            [:div {:class (if global-graph-pages? "" (util/hiccup->class "max-w-7xl.mx-auto.pb-24"))
                   :style {:margin-bottom (if global-graph-pages? 0 120)
                   :style {:margin-bottom (if global-graph-pages? 0 120)
-                          :padding-bottom (if (mobile-util/native-iphone?) "7rem")}}
+                          :padding-bottom (when (mobile-util/native-iphone?) "7rem")}}
             main-content])]]])))
             main-content])]]])))
 
 
 (rum/defc footer
 (rum/defc footer