0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-16 01:31:22 -05:00

🐛 Fix search bar being wider when recent-fonts is nil

This commit is contained in:
Belén Albeza 2024-02-06 13:50:58 +01:00 committed by Andrey Antukh
parent d737b9501b
commit a41ce5b8b7

View file

@ -103,7 +103,7 @@
fonts (mf/use-memo (mf/deps @state) #(filter-fonts @state @fonts/fonts))
recent-fonts (mf/deref refs/workspace-recent-fonts)
full-size? (boolean (and full-size recent-fonts show-recent))
full-size? (boolean (and full-size show-recent))
select-next
(mf/use-fn