fix: a dev warning

This commit is contained in:
Peng Xiao
2022-09-29 14:46:39 +08:00
parent 66739b5f41
commit cd5a8bca6d
2 changed files with 2 additions and 2 deletions

View File

@@ -235,7 +235,7 @@
[:span#repo-switch.block.pr-2.whitespace-nowrap
[:span [:span#repo-name.font-medium
(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"}}]]]]))
links-header (cond->
{:modal-class (util/hiccup->class

View File

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