Bläddra i källkod

fix: a dev warning

Peng Xiao 3 år sedan
förälder
incheckning
cd5a8bca6d

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

@@ -235,7 +235,7 @@
                                  [:span#repo-switch.block.pr-2.whitespace-nowrap
                                  [:span#repo-switch.block.pr-2.whitespace-nowrap
                                   [:span [:span#repo-name.font-medium
                                   [:span [:span#repo-name.font-medium
                                           (if (= config/local-repo short-repo-name) "Demo" short-repo-name)
                                           (if (= config/local-repo short-repo-name) "Demo" short-repo-name)
-                                          (when remote? [:span.pl-1 (ui/icon "cloud" {:font? true})])]]
+                                          (when remote? [:span.pl-1 (ui/icon "cloud")])]]
                                   [:span.dropdown-caret.ml-2 {:style {:border-top-color "#6b7280"}}]]]]))
                                   [:span.dropdown-caret.ml-2 {:style {:border-top-color "#6b7280"}}]]]]))
             links-header (cond->
             links-header (cond->
                            {:modal-class (util/hiccup->class
                            {:modal-class (util/hiccup->class

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

@@ -234,7 +234,7 @@
      [:button#create-button
      [:button#create-button
       {:on-click toggle-fn}
       {:on-click toggle-fn}
       [:<>
       [:<>
-       (ui/icon "plus" {:font? true})
+       (ui/icon "plus" {:font? "true"})
        [:span.mx-1 (t :left-side-bar/create)]]])
        [:span.mx-1 (t :left-side-bar/create)]]])
    (->>
    (->>
     [{:title (t :left-side-bar/new-page)
     [{:title (t :left-side-bar/new-page)