mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 23:18:48 -05:00
🐛 Fix problem with typography sample
This commit is contained in:
parent
2a998a2dcc
commit
c47fe2954a
1 changed files with 1 additions and 0 deletions
|
@ -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?)
|
||||
|
|
Loading…
Add table
Reference in a new issue