mirror of
https://github.com/penpot/penpot.git
synced 2026-03-07 18:51:14 +00:00
🐛 Fix problems with empty position-data
This commit is contained in:
@@ -35,5 +35,8 @@
|
||||
|
||||
;; Old components can have texts without position data that must be rendered via foreign key
|
||||
(cond
|
||||
(some? position-data) [:> svg/text-shape props]
|
||||
is-component? [:> fo/text-shape props])))
|
||||
(some? position-data)
|
||||
[:> svg/text-shape props]
|
||||
|
||||
(or (nil? position-data) is-component?)
|
||||
[:> fo/text-shape props])))
|
||||
|
||||
Reference in New Issue
Block a user