From c47fe2954a739a1a75dc3a5aed214cedb5037e44 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Wed, 13 Mar 2024 13:34:01 +0100 Subject: [PATCH] :bug: Fix problem with typography sample --- .../app/main/ui/workspace/sidebar/options/menus/typography.cljs | 1 + 1 file changed, 1 insertion(+) 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 0d7977266..44d3de561 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 @@ -441,6 +441,7 @@ [{:keys [visible? typography editable? name-input-ref on-close on-change on-name-blur local? navigate-to-library on-key-down]}] (let [ref (mf/use-ref nil) font-data (fonts/get-font-data (:font-id typography))] + (fonts/ensure-loaded! (:font-id typography)) (mf/use-effect (mf/deps visible?)