From cd2f50fdb485b7a60834e9569d102b6e1a7ca608 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 6 Jul 2023 12:15:20 +0200 Subject: [PATCH] :bug: Fix react warnings on font-selector --- .../main/ui/workspace/sidebar/options/menus/typography.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/typography.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/typography.cljs index 7b88a06d08..c1cc324264 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/typography.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/typography.cljs @@ -193,8 +193,8 @@ :spell-check false :on-change on-filter-change}] (when (and recent-fonts show-recent) - [:hr] - [* + [:* + [:hr] [:p.title (tr "workspace.options.recent-fonts")] (for [[idx font] (d/enumerate recent-fonts)] [:& font-item {:key (dm/str "font-" idx)