diff options
Diffstat (limited to 'src/frontend')
-rw-r--r-- | src/frontend/tubo/components/layout.cljs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/frontend/tubo/components/layout.cljs b/src/frontend/tubo/components/layout.cljs index d72d76d..614c7b6 100644 --- a/src/frontend/tubo/components/layout.cljs +++ b/src/frontend/tubo/components/layout.cljs @@ -138,8 +138,9 @@ (defn menu-item [{:keys [label icon on-click link] :as item}] (let [content [:<> - [:span.text-xs.min-w-4.w-4.flex.justify-center.items-center - icon] + (when icon + [:span.text-xs.min-w-4.w-4.flex.justify-center.items-center + icon]) [:span.whitespace-nowrap label]] classes ["relative" "flex" "items-center" "gap-x-3" "hover:bg-neutral-200" |